T
- public class ProducerField<X,T> extends AbstractProducerBean<X,T,java.lang.reflect.Field>
type
beanManager
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
|
AnnotatedField<? super X> |
getAnnotated()
Returns the annotated item the bean represents
|
EnhancedAnnotatedField<T,? super X> |
getEnhancedAnnotated()
Gets the annotated item representing the field
|
java.util.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
|
java.lang.String |
toString() |
checkReturnValue, checkType, create, destroy, getBeanClass, getDeclaringBean, getInjectionPoints, initType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isTypeSerializable
checkSpecialization, getProducer, getType, initializeAfterBeanDiscovery, isDependent, isProxyRequired, postSpecialize, preInitialize, preSpecialize, setProducer, specialize
getBeanManager, getQualifierInstances, initialize, isNormalScoped
attributes, equals, getId, getIdentifier, 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 managerpublic AnnotatedField<? super X> getAnnotated()
AbstractBean
getAnnotated
in class AbstractProducerBean<X,T,java.lang.reflect.Field>
public EnhancedAnnotatedField<T,? super X> getEnhancedAnnotated()
getEnhancedAnnotated
in class AbstractProducerBean<X,T,java.lang.reflect.Field>
public void cleanupAfterBoot()
RIBean
cleanupAfterBoot
in class RIBean<T>
public boolean isSpecializing()
isSpecializing
in class AbstractBean<T,java.lang.reflect.Field>
public java.lang.String toString()
toString
in class CommonBean<T>
public boolean isProxyable()
isProxyable
in class RIBean<T>
public java.util.Set<AbstractBean<?,?>> getSpecializedBeans()
getSpecializedBeans
in class AbstractBean<T,java.lang.reflect.Field>
Copyright © 2014. All Rights Reserved.