T - public class ProducerMethod<X,T> extends AbstractProducerBean<X,T,Method>
typebeanManager| Modifier | Constructor and Description |
|---|---|
protected |
ProducerMethod(org.jboss.weld.serialization.spi.BeanIdentifier identifier,
javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services) |
| 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
|
javax.enterprise.inject.spi.AnnotatedMethod<? super X> |
getAnnotated()
Returns the annotated item the bean represents
|
EnhancedAnnotatedMethod<T,? super X> |
getEnhancedAnnotated()
Gets the annotated item representing the method
|
boolean |
isProxyable() |
static <X,T> ProducerMethod<X,T> |
of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Creates a producer method Web Bean
|
protected void |
specialize() |
String |
toString() |
checkReturnValue, checkType, create, destroy, getBeanClass, getDeclaringBean, getInjectionPoints, initType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isTypeSerializablecheckSpecialization, getProducer, getSpecializedBeans, getType, initializeAfterBeanDiscovery, isDependent, isProxyRequired, isSpecializing, postSpecialize, preInitialize, preSpecialize, setProducergetBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isNormalScoped, setAttributesattributes, equals, getId, getIdentifier, hashCode, isNullable, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeprotected ProducerMethod(org.jboss.weld.serialization.spi.BeanIdentifier identifier, javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedMethod<T,? super X> method, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
public static <X,T> ProducerMethod<X,T> of(javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedMethod<T,? super X> method, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
method - The underlying method abstractiondeclaringBean - The declaring bean abstractionbeanManager - the current managerpublic javax.enterprise.inject.spi.AnnotatedMethod<? super X> getAnnotated()
AbstractBeangetAnnotated in class AbstractProducerBean<X,T,Method>public EnhancedAnnotatedMethod<T,? super X> getEnhancedAnnotated()
getEnhancedAnnotated in class AbstractProducerBean<X,T,Method>public void cleanupAfterBoot()
RIBeancleanupAfterBoot in class RIBean<T>protected void specialize()
specialize in class AbstractBean<T,Method>public String toString()
toString in class CommonBean<T>public boolean isProxyable()
isProxyable in class RIBean<T>Copyright © 2017. All rights reserved.