public class EEResourceProducerField<X,T> extends ProducerField<X,T>
typebeanManager| Modifier | Constructor and Description |
|---|---|
protected |
EEResourceProducerField(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkEEResource() |
T |
create(CreationalContext<T> creationalContext)
Creates an instance of the bean
|
void |
internalInitialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata
|
boolean |
isPassivationCapableBean() |
static <X,T> EEResourceProducerField<X,T> |
of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services)
Creates an EE resource producer field
|
String |
toString() |
cleanupAfterBoot, getAnnotated, getEnhancedAnnotated, getSpecializedBeans, isProxyable, isSpecializingcheckReturnValue, checkType, destroy, getBeanClass, getDeclaringBean, getInjectionPoints, initType, isPassivationCapableDependency, isTypeSerializablecheckSpecialization, getProducer, getType, initializeAfterBeanDiscovery, isDependent, isProxyRequired, postSpecialize, preInitialize, preSpecialize, setProducer, specializegetBeanManager, getQualifierInstances, initialize, isNormalScopedattributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeprotected EEResourceProducerField(BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl manager, ServiceRegistry services)
public static <X,T> EEResourceProducerField<X,T> of(BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl manager, ServiceRegistry services)
field - The underlying method abstractiondeclaringBean - The declaring bean abstractionmanager - the current managerpublic void internalInitialize(BeanDeployerEnvironment environment)
AbstractProducerBeaninternalInitialize in class AbstractProducerBean<X,T,Field>protected void checkEEResource()
public T create(CreationalContext<T> creationalContext)
AbstractProducerBeancreate in interface Contextual<T>create in class AbstractProducerBean<X,T,Field>creationalContext - the context in which this instance is being createdpublic boolean isPassivationCapableBean()
isPassivationCapableBean in class AbstractProducerBean<X,T,Field>public String toString()
toString in class ProducerField<X,T>Copyright © 2013 Seam Framework. All Rights Reserved.