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 protected
AbstractDecorableBuiltInBean(BeanManagerImpl beanManager, Class<T> type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
create(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.InjectionPoint
getInjectionPoint(CurrentInjectionPoint cip)
protected abstract Class<T>
getProxyClass()
protected abstract T
newInstance(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, isNullable, 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:
create
in 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:
getBeanClass
in interfacejakarta.enterprise.inject.spi.Bean<T>
- Overrides:
getBeanClass
in classRIBean<T>
-
getDecorators
public List<jakarta.enterprise.inject.spi.Decorator<?>> getDecorators()
Description copied from interface:DecorableBean
Resolves decorators for this bean.- Specified by:
getDecorators
in interfaceDecorableBean<T>
-
-