T - the type of class for the beanpublic abstract class AbstractClassBean<T> extends AbstractBean<T,Class<T>> implements DecorableBean<T>
| Modifier and Type | Field and Description |
|---|---|
protected SlimAnnotatedType<T> |
annotatedType |
protected EnhancedAnnotatedType<T> |
enhancedAnnotatedItem |
typebeanManager| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClassBean(BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
BeanIdentifier identifier,
BeanManagerImpl beanManager)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkBeanImplementation()
Validates the bean implementation
|
void |
cleanupAfterBoot()
This method is called after the container is started allowing the bean to
release any resources that are only required at boot time
|
SlimAnnotatedType<T> |
getAnnotated()
Returns the annotated item the bean represents
|
List<Decorator<?>> |
getDecorators()
Resolves decorators for this bean.
|
EnhancedAnnotatedType<T> |
getEnhancedAnnotated()
Gets the annotated item
|
Set<InjectionPoint> |
getInjectionPoints()
Obtains the
InjectionPoint objects representing injection points of the bean, that
will be validated by the container at initialization time. |
InjectionTarget<T> |
getInjectionTarget()
Duplicate of
getProducer() - kept for backwards compatibility. |
InterceptionModel<?> |
getInterceptors() |
InjectionTarget<T> |
getProducer() |
boolean |
hasDecorators() |
boolean |
hasInterceptors() |
protected void |
initType()
Initializes the bean type
|
void |
internalInitialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata
|
protected abstract boolean |
isInterceptionCandidate() |
protected void |
preSpecialize() |
void |
setInjectionTarget(InjectionTarget<T> injectionTarget) |
void |
setProducer(InjectionTarget<T> producer) |
void |
setProducer(Producer<T> producer)
Set a Producer for this bean.
|
checkSpecialization, checkType, getSpecializedBeans, getType, initializeAfterBeanDiscovery, isDependent, isProxyRequired, isSpecializing, postSpecialize, preInitialize, specializegetBeanClass, getBeanManager, getQualifierInstances, initialize, isNormalScoped, isPassivationCapableBean, isPassivationCapableDependency, isProxyableattributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, toString, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBeanClass, isNullablecreate, destroygetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativegetIdprotected final SlimAnnotatedType<T> annotatedType
protected volatile EnhancedAnnotatedType<T> enhancedAnnotatedItem
protected AbstractClassBean(BeanAttributes<T> attributes, EnhancedAnnotatedType<T> type, BeanIdentifier identifier, BeanManagerImpl beanManager)
type - The typebeanManager - The Bean managerpublic void internalInitialize(BeanDeployerEnvironment environment)
internalInitialize in class AbstractBean<T,Class<T>>public boolean hasDecorators()
public List<Decorator<?>> getDecorators()
DecorableBeangetDecorators in interface DecorableBean<T>protected void initType()
protected void checkBeanImplementation()
protected void preSpecialize()
preSpecialize in class AbstractBean<T,Class<T>>public SlimAnnotatedType<T> getAnnotated()
AbstractBeangetAnnotated in class AbstractBean<T,Class<T>>public EnhancedAnnotatedType<T> getEnhancedAnnotated()
getEnhancedAnnotated in class AbstractBean<T,Class<T>>public void cleanupAfterBoot()
RIBeancleanupAfterBoot in class RIBean<T>protected abstract boolean isInterceptionCandidate()
public Set<InjectionPoint> getInjectionPoints()
BeanInjectionPoint objects representing injection points of the bean, that
will be validated by the container at initialization time.getInjectionPoints in interface Bean<T>public InterceptionModel<?> getInterceptors()
public boolean hasInterceptors()
public InjectionTarget<T> getProducer()
getProducer in class AbstractBean<T,Class<T>>public void setProducer(InjectionTarget<T> producer)
public InjectionTarget<T> getInjectionTarget()
getProducer() - kept for backwards compatibility.public void setInjectionTarget(InjectionTarget<T> injectionTarget)
public void setProducer(Producer<T> producer)
AbstractBeansetProducer in class AbstractBean<T,Class<T>>Copyright © 2013 Seam Framework. All Rights Reserved.