|
||||||||||
| 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,java.lang.reflect.Method>
org.jboss.weld.bean.DisposalMethod<X,T>
public class DisposalMethod<X,T>
| Field Summary | |
|---|---|
protected MethodInjectionPoint<T,X> |
disposalMethodInjectionPoint
|
| 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 |
DisposalMethod(BeanManagerImpl manager,
WeldMethod<T,X> disposalMethod,
AbstractClassBean<X> declaringBean)
|
| Method Summary | ||
|---|---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
|
|
void |
destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
|
|
WeldMethod<T,X> |
getAnnotatedItem()
Returns the annotated time the bean represents |
|
protected java.lang.String |
getDefaultName()
Gets the default name of the bean |
|
java.lang.String |
getDescription()
|
|
WeldParameter<?,X> |
getDisposesParameter()
|
|
java.lang.String |
getName()
Gets the name of the bean |
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Gets the scope type of the bean |
|
AbstractBean<?,?> |
getSpecializedBean()
|
|
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
|
|
java.lang.Class<T> |
getType()
Gets the type of the bean |
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
Gets the API types of the bean |
|
protected void |
initBindings()
Initializes the binding types |
|
void |
initialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata |
|
protected void |
initScopeType()
Initializes the scope type |
|
protected void |
initType()
|
|
protected void |
initTypes()
Initializes the API types |
|
void |
invokeDisposeMethod(java.lang.Object instance)
|
|
boolean |
isNullable()
Indicates if bean is nullable |
|
boolean |
isProxyable()
|
|
boolean |
isSerializable()
|
|
static
|
of(BeanManagerImpl manager,
WeldMethod<T,X> disposalMethod,
AbstractClassBean<X> declaringBean)
|
|
| Methods inherited from class org.jboss.weld.bean.AbstractReceiverBean |
|---|
getDeclaringBean, getReceiver, initPolicy, isAlternative |
| Methods inherited from class org.jboss.weld.bean.RIBean |
|---|
equals, getBeanClass, getId, getInjectionPoints, getManager, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected MethodInjectionPoint<T,X> disposalMethodInjectionPoint
| Constructor Detail |
|---|
protected DisposalMethod(BeanManagerImpl manager,
WeldMethod<T,X> disposalMethod,
AbstractClassBean<X> declaringBean)
| Method Detail |
|---|
public WeldParameter<?,X> getDisposesParameter()
public void initialize(BeanDeployerEnvironment environment)
AbstractBean
initialize in class AbstractReceiverBean<X,T,java.lang.reflect.Method>protected void initType()
public WeldMethod<T,X> getAnnotatedItem()
AbstractBean
getAnnotatedItem in class AbstractReceiverBean<X,T,java.lang.reflect.Method>
public static <X,T> DisposalMethod<X,T> of(BeanManagerImpl manager,
WeldMethod<T,X> disposalMethod,
AbstractClassBean<X> declaringBean)
protected void initBindings()
AbstractBean
initBindings in class AbstractBean<T,java.lang.reflect.Method>protected void initTypes()
initTypes in class AbstractBean<T,java.lang.reflect.Method>public java.lang.String getName()
AbstractBean
getName in interface javax.enterprise.inject.spi.Bean<T>getName in class AbstractBean<T,java.lang.reflect.Method>org.jboss.weld.bean.BaseBean#getName()public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
AbstractBean
getScope in interface javax.enterprise.inject.spi.Bean<T>getScope in class AbstractBean<T,java.lang.reflect.Method>org.jboss.weld.bean.BaseBean#getScope()public java.util.Set<java.lang.reflect.Type> getTypes()
AbstractBean
getTypes in interface javax.enterprise.inject.spi.Bean<T>getTypes in class AbstractBean<T,java.lang.reflect.Method>org.jboss.weld.bean.BaseBean#getTypeClosure()public java.lang.String getDescription()
getDescription in class RIBean<T>public boolean isNullable()
AbstractBean
isNullable in interface javax.enterprise.inject.spi.Bean<T>isNullable in class AbstractBean<T,java.lang.reflect.Method>org.jboss.weld.bean.BaseBean#isNullable()public boolean isSerializable()
isSerializable in class AbstractBean<T,java.lang.reflect.Method>public boolean isProxyable()
isProxyable in class AbstractBean<T,java.lang.reflect.Method>public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
public void invokeDisposeMethod(java.lang.Object instance)
public java.lang.Class<T> getType()
AbstractBean
getType in class AbstractBean<T,java.lang.reflect.Method>protected java.lang.String getDefaultName()
AbstractBean
getDefaultName in class AbstractBean<T,java.lang.reflect.Method>
public void destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
public AbstractBean<?,?> getSpecializedBean()
getSpecializedBean in class AbstractBean<T,java.lang.reflect.Method>protected void initScopeType()
AbstractBean
initScopeType in class AbstractBean<T,java.lang.reflect.Method>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 | |||||||||