public abstract class AbstractDecorableBuiltInBean<T> extends AbstractBuiltInBean<T> implements DecorableBean<T>
DecoratorAbstractBuiltInBean.BuiltInBeanAttributes<T>beanManager| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDecorableBuiltInBean(BeanManagerImpl beanManager,
java.lang.Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(CreationalContext<T> creationalContext)
Create a new instance of the contextual type.
|
java.lang.Class<?> |
getBeanClass()
The bean class of the managed bean or session bean or of the bean that declares the producer method or
field.
|
java.util.List<Decorator<?>> |
getDecorators()
Resolves decorators for this bean.
|
protected abstract java.util.List<Decorator<?>> |
getDecorators(InjectionPoint ip) |
protected InjectionPoint |
getInjectionPoint(CurrentInjectionPoint cip) |
protected abstract java.lang.Class<T> |
getProxyClass() |
protected abstract T |
newInstance(InjectionPoint ip,
CreationalContext<T> creationalContext) |
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitializegetBeanManager, getQualifierInstances, initialize, isDependent, isNormalScopedattributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, toString, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetInjectionPoints, isNullabledestroygetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativegetIdprotected AbstractDecorableBuiltInBean(BeanManagerImpl beanManager, java.lang.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 java.util.List<Decorator<?>> getDecorators(InjectionPoint ip)
protected abstract java.lang.Class<T> getProxyClass()
protected InjectionPoint getInjectionPoint(CurrentInjectionPoint cip)
public java.lang.Class<?> getBeanClass()
BeangetBeanClass in interface Bean<T>getBeanClass in class RIBean<T>public java.util.List<Decorator<?>> getDecorators()
DecorableBeangetDecorators in interface DecorableBean<T>Copyright © 2014. All Rights Reserved.