T - public class ProducerMethod<X,T> extends AbstractProducerBean<X,T,Method>
typebeanManager| Modifier | Constructor and Description |
|---|---|
protected |
ProducerMethod(BeanIdentifier identifier,
BeanAttributes<T> attributes,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
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
|
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(BeanAttributes<T> attributes,
EnhancedAnnotatedMethod<T,? super X> method,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
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, getQualifierInstances, initialize, isNormalScopedattributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeprotected ProducerMethod(BeanIdentifier identifier, BeanAttributes<T> attributes, EnhancedAnnotatedMethod<T,? super X> method, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl beanManager, ServiceRegistry services)
public static <X,T> ProducerMethod<X,T> of(BeanAttributes<T> attributes, EnhancedAnnotatedMethod<T,? super X> method, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl beanManager, ServiceRegistry services)
method - The underlying method abstractiondeclaringBean - The declaring bean abstractionbeanManager - the current managerpublic 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 © 2014. All Rights Reserved.