X - T - public class StaticEEResourceProducerField<X,T> extends EEResourceProducerField<X,T>
typebeanManager| Modifier | Constructor and Description |
|---|---|
protected |
StaticEEResourceProducerField(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(CreationalContext<T> creationalContext)
Creates an instance of the bean
|
protected ResourceInjection<T> |
getResourceInjection(EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
BeanManagerImpl manager) |
static <X,T> StaticEEResourceProducerField<X,T> |
of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services) |
checkEEResource, internalInitialize, isEEResourceProducerField, isPassivationCapableBean, toStringcleanupAfterBoot, getAnnotated, getEnhancedAnnotated, getSpecializedBeans, isProxyable, isSpecializingdestroy, getBeanClass, getDeclaringBean, getInjectionPoints, checkReturnValue, checkType, initType, isPassivationCapableDependency, isTypeSerializablegetProducer, getType, checkSpecialization, initializeAfterBeanDiscovery, isDependent, isProxyRequired, postSpecialize, preInitialize, preSpecialize, setProducer, specializegetBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isNormalScoped, setAttributesattributes, equals, getId, getIdentifier, hashCode, isNullable, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeprotected StaticEEResourceProducerField(BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl manager, ServiceRegistry services)
public static <X,T> StaticEEResourceProducerField<X,T> of(BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl manager, ServiceRegistry services)
protected ResourceInjection<T> getResourceInjection(EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, BeanManagerImpl manager)
public T create(CreationalContext<T> creationalContext)
AbstractProducerBeancreate in interface Contextual<T>create in class EEResourceProducerField<X,T>creationalContext - the context in which this instance is being createdCopyright © 2015. All Rights Reserved.