public abstract class AbstractDecorableBuiltInBean<T> extends AbstractBuiltInBean<T> implements DecorableBean<T>
DecoratorAbstractBuiltInBean.BuiltInBeanAttributes<T>beanManagerBEAN_ID_PREFIX, BEAN_ID_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDecorableBuiltInBean(String idSuffix,
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 abstract Class<T> |
getProxyClass() |
protected void |
injectionPointNotAvailable() |
protected boolean |
isInjectionPointMetadataRequired() |
protected abstract T |
newInstance(InjectionPoint ip,
CreationalContext<T> creationalContext) |
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitializegetBeanManager, getQualifierInstances, initialize, isDependentattributes, equals, getId, hashCode, setAttributes, toString, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullableclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetInjectionPointsdestroygetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullablegetIdprotected AbstractDecorableBuiltInBean(String idSuffix, 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 boolean isInjectionPointMetadataRequired()
public Class<?> getBeanClass()
BeangetBeanClass in interface Bean<T>getBeanClass in class RIBean<T>protected void injectionPointNotAvailable()
public List<Decorator<?>> getDecorators()
DecorableBeangetDecorators in interface DecorableBean<T>Copyright © 2012 Seam Framework. All Rights Reserved.