public class EEResourceProducerField<X,T> extends ProducerField<X,T>
type
beanManager
Modifier | Constructor and Description |
---|---|
protected |
EEResourceProducerField(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
org.jboss.weld.bootstrap.api.ServiceRegistry services) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkEEResource() |
T |
create(javax.enterprise.context.spi.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(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Creates an EE resource producer field
|
String |
toString() |
cleanupAfterBoot, getAnnotated, getEnhancedAnnotated, getSpecializedBeans, isProxyable, isSpecializing
checkReturnValue, checkType, destroy, getBeanClass, getDeclaringBean, getInjectionPoints, initType, 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
protected EEResourceProducerField(javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl manager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
public static <X,T> EEResourceProducerField<X,T> of(javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl manager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
field
- The underlying method abstractiondeclaringBean
- The declaring bean abstractionmanager
- the current managerpublic void internalInitialize(BeanDeployerEnvironment environment)
AbstractProducerBean
internalInitialize
in class AbstractProducerBean<X,T,Field>
protected void checkEEResource()
public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
AbstractProducerBean
public boolean isPassivationCapableBean()
isPassivationCapableBean
in class AbstractProducerBean<X,T,Field>
public String toString()
toString
in class ProducerField<X,T>
Copyright © 2016. All rights reserved.