Package org.jboss.weld.bean.builtin.ee
Class StaticEEResourceProducerField<X,T>
java.lang.Object
org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
org.jboss.weld.bean.CommonBean<T>
org.jboss.weld.bean.RIBean<T>
org.jboss.weld.bean.AbstractBean<T,S>
org.jboss.weld.bean.AbstractProducerBean<X,T,Field>
org.jboss.weld.bean.ProducerField<X,T>
org.jboss.weld.bean.builtin.ee.EEResourceProducerField<X,T>
org.jboss.weld.bean.builtin.ee.StaticEEResourceProducerField<X,T>
- Type Parameters:
X-T-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>,jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,jakarta.enterprise.inject.spi.PassivationCapable,WeldBean<T>
A resource producer field that is static (not injected).
- Author:
- Jozef Hartinger
-
Field Summary
Fields inherited from class org.jboss.weld.bean.AbstractProducerBean
explicitPriorityFields inherited from class org.jboss.weld.bean.AbstractBean
typeFields inherited from class org.jboss.weld.bean.RIBean
beanManager -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStaticEEResourceProducerField(jakarta.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) -
Method Summary
Modifier and TypeMethodDescriptionCreates an instance of the beanprotected ResourceInjection<T>getResourceInjection(EnhancedAnnotatedField<T, ? super X> field, AbstractClassBean<X> declaringBean, BeanManagerImpl manager) static <X,T> StaticEEResourceProducerField<X, T> of(jakarta.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) Methods inherited from class org.jboss.weld.bean.builtin.ee.EEResourceProducerField
checkEEResource, internalInitialize, isEEResourceProducerField, isPassivationCapableBean, toStringMethods inherited from class org.jboss.weld.bean.ProducerField
cleanupAfterBoot, getAnnotated, getEnhancedAnnotated, getSpecializedBeans, isProxyable, isSpecializingMethods inherited from class org.jboss.weld.bean.AbstractProducerBean
checkReturnValue, checkType, destroy, getBeanClass, getDeclaringBean, getInjectionPoints, getPriority, initType, isPassivationCapableDependency, isTypeSerializable, processExplicitPriorityMethods inherited from class org.jboss.weld.bean.AbstractBean
checkSpecialization, getProducer, getType, initializeAfterBeanDiscovery, isDependent, isIgnoreFinalMethods, isProxyRequired, postSpecialize, preInitialize, preSpecialize, setIgnoreFinalMethods, setProducer, specializeMethods inherited from class org.jboss.weld.bean.RIBean
getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isNormalScoped, setAttributesMethods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, unwrapMethods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from interface jakarta.enterprise.inject.spi.PassivationCapable
getId
-
Constructor Details
-
StaticEEResourceProducerField
protected StaticEEResourceProducerField(jakarta.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)
-
-
Method Details
-
of
public static <X,T> StaticEEResourceProducerField<X,T> of(jakarta.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) -
getResourceInjection
protected ResourceInjection<T> getResourceInjection(EnhancedAnnotatedField<T, ? super X> field, AbstractClassBean<X> declaringBean, BeanManagerImpl manager) -
create
Description copied from class:AbstractProducerBeanCreates an instance of the bean- Specified by:
createin interfacejakarta.enterprise.context.spi.Contextual<X>- Overrides:
createin classEEResourceProducerField<X,T>
-