public abstract class AbstractDecorableBuiltInBean<T> extends AbstractBuiltInBean<T> implements DecorableBean<T>
DecoratorAbstractBuiltInBean.BuiltInBeanAttributes<T>beanManager| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDecorableBuiltInBean(BeanManagerImpl beanManager,
Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(CreationalContext<T> creationalContext)
Create a new instance of the contextual type.
|
Class<?> |
getBeanClass()
The bean class of the managed bean or session bean or of the bean that declares the producer method or
field.
|
List<Decorator<?>> |
getDecorators()
Resolves decorators for this bean.
|
protected abstract List<Decorator<?>> |
getDecorators(InjectionPoint ip) |
protected InjectionPoint |
getInjectionPoint(CurrentInjectionPoint cip) |
protected abstract Class<T> |
getProxyClass() |
protected abstract T |
newInstance(InjectionPoint ip,
CreationalContext<T> creationalContext) |
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isDependentContextOptimizationAllowed, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitializedestroy, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributesattributes, equals, getId, getIdentifier, hashCode, isNullable, toString, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetInjectionPoints, isNullabledestroygetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativegetIdprotected AbstractDecorableBuiltInBean(BeanManagerImpl beanManager, Class<T> type)
public T create(CreationalContext<T> creationalContext)
ContextualCreationalContext when obtaining contextual references to inject, in order to ensure
that any dependent objects are associated with the contextual instance that is being created. An implementation may call
CreationalContext.push(Object) between instantiation and injection to help the
container minimize the use of client proxy objects.create in interface Contextual<T>creationalContext - the context in which this instance is being createdprotected abstract T newInstance(InjectionPoint ip, CreationalContext<T> creationalContext)
protected abstract List<Decorator<?>> getDecorators(InjectionPoint ip)
protected InjectionPoint getInjectionPoint(CurrentInjectionPoint cip)
public Class<?> getBeanClass()
BeangetBeanClass in interface Bean<T>getBeanClass in class RIBean<T>public List<Decorator<?>> getDecorators()
DecorableBeangetDecorators in interface DecorableBean<T>Copyright © 2015. All Rights Reserved.