Package org.jboss.weld.bean.builtin
Class AbstractDecorableBuiltInBean<T>
- java.lang.Object
-
- org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
-
- org.jboss.weld.bean.CommonBean<T>
-
- org.jboss.weld.bean.RIBean<T>
-
- org.jboss.weld.bean.builtin.AbstractBuiltInBean<T>
-
- org.jboss.weld.bean.builtin.AbstractDecorableBuiltInBean<T>
-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>,jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,jakarta.enterprise.inject.spi.PassivationCapable,DecorableBean<T>,WeldBean<T>
- Direct Known Subclasses:
AbstractFacadeBean,AbstractStaticallyDecorableBuiltInBean
public abstract class AbstractDecorableBuiltInBean<T> extends AbstractBuiltInBean<T> implements DecorableBean<T>
Built-in bean that can be decorated by aDecorator- Author:
- Jozef Hartinger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
AbstractBuiltInBean.BuiltInBeanAttributes<T>
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.bean.RIBean
beanManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDecorableBuiltInBean(BeanManagerImpl beanManager, Class<T> type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tcreate(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)Class<?>getBeanClass()List<jakarta.enterprise.inject.spi.Decorator<?>>getDecorators()Resolves decorators for this bean.protected abstract List<jakarta.enterprise.inject.spi.Decorator<?>>getDecorators(jakarta.enterprise.inject.spi.InjectionPoint ip)protected jakarta.enterprise.inject.spi.InjectionPointgetInjectionPoint(CurrentInjectionPoint cip)protected abstract Class<T>getProxyClass()protected abstract TnewInstance(jakarta.enterprise.inject.spi.InjectionPoint ip, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isDependentContextOptimizationAllowed, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
-
Methods inherited from class org.jboss.weld.bean.RIBean
destroy, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributes
-
Methods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, toString, unwrap
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
-
-
-
Constructor Detail
-
AbstractDecorableBuiltInBean
protected AbstractDecorableBuiltInBean(BeanManagerImpl beanManager, Class<T> type)
-
-
Method Detail
-
create
public T create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
createin interfacejakarta.enterprise.context.spi.Contextual<T>
-
newInstance
protected abstract T newInstance(jakarta.enterprise.inject.spi.InjectionPoint ip, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
-
getDecorators
protected abstract List<jakarta.enterprise.inject.spi.Decorator<?>> getDecorators(jakarta.enterprise.inject.spi.InjectionPoint ip)
-
getInjectionPoint
protected jakarta.enterprise.inject.spi.InjectionPoint getInjectionPoint(CurrentInjectionPoint cip)
-
getBeanClass
public Class<?> getBeanClass()
- Specified by:
getBeanClassin interfacejakarta.enterprise.inject.spi.Bean<T>- Overrides:
getBeanClassin classRIBean<T>
-
getDecorators
public List<jakarta.enterprise.inject.spi.Decorator<?>> getDecorators()
Description copied from interface:DecorableBeanResolves decorators for this bean.- Specified by:
getDecoratorsin interfaceDecorableBean<T>
-
-