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:
javax.enterprise.context.spi.Contextual<T>,javax.enterprise.inject.spi.Bean<T>,javax.enterprise.inject.spi.BeanAttributes<T>,javax.enterprise.inject.spi.PassivationCapable,DecorableBean<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(javax.enterprise.context.spi.CreationalContext<T> creationalContext)Class<?>getBeanClass()List<javax.enterprise.inject.spi.Decorator<?>>getDecorators()Resolves decorators for this bean.protected abstract List<javax.enterprise.inject.spi.Decorator<?>>getDecorators(javax.enterprise.inject.spi.InjectionPoint ip)protected javax.enterprise.inject.spi.InjectionPointgetInjectionPoint(CurrentInjectionPoint cip)protected abstract Class<T>getProxyClass()protected abstract TnewInstance(javax.enterprise.inject.spi.InjectionPoint ip, javax.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
-
-
-
-
Constructor Detail
-
AbstractDecorableBuiltInBean
protected AbstractDecorableBuiltInBean(BeanManagerImpl beanManager, Class<T> type)
-
-
Method Detail
-
create
public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
createin interfacejavax.enterprise.context.spi.Contextual<T>
-
newInstance
protected abstract T newInstance(javax.enterprise.inject.spi.InjectionPoint ip, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
-
getDecorators
protected abstract List<javax.enterprise.inject.spi.Decorator<?>> getDecorators(javax.enterprise.inject.spi.InjectionPoint ip)
-
getInjectionPoint
protected javax.enterprise.inject.spi.InjectionPoint getInjectionPoint(CurrentInjectionPoint cip)
-
getBeanClass
public Class<?> getBeanClass()
- Specified by:
getBeanClassin interfacejavax.enterprise.inject.spi.Bean<T>- Overrides:
getBeanClassin classRIBean<T>
-
getDecorators
public List<javax.enterprise.inject.spi.Decorator<?>> getDecorators()
Description copied from interface:DecorableBeanResolves decorators for this bean.- Specified by:
getDecoratorsin interfaceDecorableBean<T>
-
-