T
- public class ProducerMethod<X,T> extends AbstractProducerBean<X,T,Method>
type
beanManager
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
Modifier | Constructor and Description |
---|---|
protected |
ProducerMethod(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
|
protected static <T,X> String |
createId(EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean) |
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, isTypeSerializable
checkSpecialization, getProducer, getSpecializedBeans, getType, initializeAfterBeanDiscovery, isDependent, isNormalScoped, isProxyRequired, isSpecializing, postSpecialize, preInitialize, preSpecialize, setProducer
getBeanManager, getQualifierInstances, initialize
attributes, equals, getId, hashCode, isNullable, setAttributes, unwrap
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
protected ProducerMethod(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 managerprotected static <T,X> String createId(EnhancedAnnotatedMethod<T,? super X> method, AbstractClassBean<X> declaringBean)
public javax.enterprise.inject.spi.AnnotatedMethod<? super X> getAnnotated()
AbstractBean
getAnnotated
in class AbstractProducerBean<X,T,Method>
public EnhancedAnnotatedMethod<T,? super X> getEnhancedAnnotated()
getEnhancedAnnotated
in class AbstractProducerBean<X,T,Method>
public void cleanupAfterBoot()
RIBean
cleanupAfterBoot
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 © 2013 Seam Framework. All Rights Reserved.