|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.bean.RIBean<T>
org.jboss.weld.bean.AbstractBean<T,S>
org.jboss.weld.bean.AbstractReceiverBean<X,T,S>
org.jboss.weld.bean.AbstractProducerBean<X,T,java.lang.reflect.Method>
org.jboss.weld.bean.ProducerMethod<X,T>
T - public class ProducerMethod<X,T>
Represents a producer method bean
| Field Summary |
|---|
| Fields inherited from class org.jboss.weld.bean.AbstractBean |
|---|
bindings, manager, name, scopeType, type, types |
| Fields inherited from class org.jboss.weld.bean.RIBean |
|---|
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR |
| Constructor Summary | |
|---|---|
protected |
ProducerMethod(WeldMethod<T,X> method,
AbstractClassBean<X> declaringBean,
BeanManagerImpl manager)
|
| Method Summary | ||
|---|---|---|
protected void |
checkProducerMethod()
Validates the producer method |
|
void |
destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
|
|
WeldMethod<T,X> |
getAnnotatedItem()
Gets the annotated item representing the method |
|
protected java.lang.String |
getDefaultName()
Returns the default name |
|
java.lang.String |
getDescription()
Gets a string representation |
|
DisposalMethod<X,?> |
getDisposalMethod()
Returns the disposal method |
|
java.lang.String |
getId()
|
|
AbstractBean<?,?> |
getSpecializedBean()
|
|
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
|
|
protected void |
initDisposalMethod(BeanDeployerEnvironment environment)
Initializes the remove method |
|
void |
initialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata |
|
protected void |
initProducerMethodInjectableParameters()
Initializes the injection points |
|
static
|
of(WeldMethod<T,X> method,
AbstractClassBean<X> declaringBean,
BeanManagerImpl manager)
Creates a producer method Web Bean |
|
protected void |
preSpecialize(BeanDeployerEnvironment environment)
|
|
protected void |
specialize(BeanDeployerEnvironment environment)
|
|
| Methods inherited from class org.jboss.weld.bean.AbstractProducerBean |
|---|
checkProducerReturnType, checkReturnValue, create, getBeanClass, getInjectionPoints, getProducer, initScopeType, initSerializable, initType, initTypes, isSerializable, setProducer |
| Methods inherited from class org.jboss.weld.bean.AbstractReceiverBean |
|---|
getDeclaringBean, getReceiver, initPolicy, isAlternative |
| Methods inherited from class org.jboss.weld.bean.AbstractBean |
|---|
addInjectionPoint, addInjectionPoints, checkDelegateInjectionPoints, getAnnotatedInjectionPoints, getDelegateInjectionPoints, getMergedStereotypes, getName, getQualifiers, getScope, getType, getTypes, initBindings, initDefaultBindings, initName, initPrimitive, initProxyable, initScopeTypeFromStereotype, initStereotypes, isDependent, isInitialized, isNormalScoped, isNullable, isPrimitive, isProxyable, isSpecializing, postSpecialize |
| Methods inherited from class org.jboss.weld.bean.RIBean |
|---|
equals, getManager, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ProducerMethod(WeldMethod<T,X> method,
AbstractClassBean<X> declaringBean,
BeanManagerImpl manager)
| Method Detail |
|---|
public static <X,T> ProducerMethod<X,T> of(WeldMethod<T,X> method,
AbstractClassBean<X> declaringBean,
BeanManagerImpl manager)
method - The underlying method abstractiondeclaringBean - The declaring bean abstractionmanager - the current manager
public void initialize(BeanDeployerEnvironment environment)
initialize in class AbstractProducerBean<X,T,java.lang.reflect.Method>protected void initProducerMethodInjectableParameters()
protected void checkProducerMethod()
protected void initDisposalMethod(BeanDeployerEnvironment environment)
public void destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
public WeldMethod<T,X> getAnnotatedItem()
getAnnotatedItem in class AbstractProducerBean<X,T,java.lang.reflect.Method>protected java.lang.String getDefaultName()
getDefaultName in class AbstractBean<T,java.lang.reflect.Method>public DisposalMethod<X,?> getDisposalMethod()
public java.lang.String getDescription()
getDescription in class AbstractProducerBean<X,T,java.lang.reflect.Method>public AbstractBean<?,?> getSpecializedBean()
getSpecializedBean in class AbstractBean<T,java.lang.reflect.Method>protected void preSpecialize(BeanDeployerEnvironment environment)
preSpecialize in class AbstractBean<T,java.lang.reflect.Method>protected void specialize(BeanDeployerEnvironment environment)
specialize in class AbstractBean<T,java.lang.reflect.Method>public java.lang.String getId()
getId in interface javax.enterprise.inject.spi.PassivationCapablegetId in class RIBean<T>public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
getStereotypes in interface javax.enterprise.inject.spi.Bean<T>getStereotypes in class AbstractBean<T,java.lang.reflect.Method>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||