T
- public class ProducerField<X,T> extends AbstractProducerBean<X,T,Field>
type
beanManager
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
Modifier | Constructor and Description |
---|---|
protected |
ProducerField(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
protected static String |
createId(EnhancedAnnotatedField<?,?> field,
AbstractClassBean<?> declaringBean) |
AnnotatedField<? super X> |
getAnnotated()
Returns the annotated item the bean represents
|
EnhancedAnnotatedField<T,? super X> |
getEnhancedAnnotated()
Gets the annotated item representing the field
|
Set<AbstractBean<?,?>> |
getSpecializedBeans() |
boolean |
isProxyable() |
boolean |
isSpecializing() |
static <X,T> ProducerField<X,T> |
of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
ServiceRegistry services)
Creates a producer field
|
String |
toString() |
checkReturnValue, checkType, create, destroy, getBeanClass, getDeclaringBean, getInjectionPoints, initType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isTypeSerializable
checkSpecialization, getProducer, getType, initializeAfterBeanDiscovery, isDependent, isNormalScoped, isProxyRequired, postSpecialize, preInitialize, preSpecialize, setProducer, specialize
getBeanManager, getQualifierInstances, initialize
attributes, equals, getId, hashCode, isNullable, setAttributes, unwrap
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
protected ProducerField(BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl manager, ServiceRegistry services)
method
- The producer field abstractiondeclaringBean
- The declaring beanmanager
- The Bean managerpublic static <X,T> ProducerField<X,T> of(BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl beanManager, ServiceRegistry services)
field
- The underlying method abstractiondeclaringBean
- The declaring bean abstractionbeanManager
- the current managerprotected static String createId(EnhancedAnnotatedField<?,?> field, AbstractClassBean<?> declaringBean)
public AnnotatedField<? super X> getAnnotated()
AbstractBean
getAnnotated
in class AbstractProducerBean<X,T,Field>
public EnhancedAnnotatedField<T,? super X> getEnhancedAnnotated()
getEnhancedAnnotated
in class AbstractProducerBean<X,T,Field>
public void cleanupAfterBoot()
RIBean
cleanupAfterBoot
in class RIBean<T>
public boolean isSpecializing()
isSpecializing
in class AbstractBean<T,Field>
public String toString()
toString
in class CommonBean<T>
public boolean isProxyable()
isProxyable
in class RIBean<T>
public Set<AbstractBean<?,?>> getSpecializedBeans()
getSpecializedBeans
in class AbstractBean<T,Field>
Copyright © 2013 Seam Framework. All Rights Reserved.