|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.inject.manager.Bean<T>
org.jboss.webbeans.bean.RIBean<T>
org.jboss.webbeans.bean.AbstractBean<T,java.lang.reflect.Method>
org.jboss.webbeans.bean.DisposalMethodBean<T>
public class DisposalMethodBean<T>
Field Summary | |
---|---|
protected AbstractClassBean<?> |
declaringBean
|
protected java.util.Set<AnnotatedInjectionPoint<?,?>> |
disposalInjectionPoints
|
protected MethodInjectionPoint<T> |
disposalMethodInjectionPoint
|
Fields inherited from class org.jboss.webbeans.bean.AbstractBean |
---|
_serializable, bindings, dependentInstancesStore, deploymentType, injectionPoints, manager, name, scopeType, type, types |
Constructor Summary | |
---|---|
protected |
DisposalMethodBean(ManagerImpl manager,
AnnotatedMethod<T> disposalMethod,
AbstractClassBean<?> declaringBean)
|
Method Summary | ||
---|---|---|
T |
create(CreationalContext<T> creationalContext)
Create a new instance of the contextual type |
|
void |
destroy(T instance)
Destroys an instance of the contexual type |
|
AnnotatedMethod<T> |
getAnnotatedItem()
Returns the annotated time the bean represents |
|
java.util.Set<java.lang.annotation.Annotation> |
getBindings()
Gets the binding types |
|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
getDefaultDeploymentType()
Gets the default deployment type |
|
protected java.lang.String |
getDefaultName()
Gets the default name of the bean |
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getDeploymentType()
Gets the deployment type of the bean |
|
java.lang.String |
getId()
|
|
java.util.Set<AnnotatedInjectionPoint<?,?>> |
getInjectionPoints()
The injection points of a bean |
|
java.lang.String |
getName()
Gets the name of the bean |
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScopeType()
Gets the scope type of the bean |
|
AbstractBean<?,?> |
getSpecializedBean()
|
|
java.lang.Class<T> |
getType()
Gets the type of the bean |
|
java.util.Set<? extends java.lang.reflect.Type> |
getTypes()
Gets the API types of the bean |
|
protected void |
initDeploymentType()
Initializes the deployment types |
|
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 |
isSerializable()
The serializability of a bean |
|
static
|
of(ManagerImpl manager,
AnnotatedMethod<T> disposalMethod,
AbstractClassBean<?> declaringBean)
|
|
protected void |
preSpecialize(BeanDeployerEnvironment environment)
|
|
protected void |
specialize(BeanDeployerEnvironment environment)
|
|
java.lang.String |
toString()
Gets a string representation |
Methods inherited from class org.jboss.webbeans.bean.AbstractBean |
---|
checkDeploymentType, checkRequiredTypesImplemented, getDeploymentType, getMergedStereotypes, initBindings, initDefaultBindings, initDeploymentTypeFromStereotype, initialize, initName, initPrimitive, initProxyable, initScopeTypeFromStereotype, initSerializable, isAssignableFrom, isDependent, isInitialized, isPrimitive, isProxyable, isSpecializing, postSpecialize |
Methods inherited from class org.jboss.webbeans.bean.RIBean |
---|
createId, equals, getManager, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected AbstractClassBean<?> declaringBean
protected MethodInjectionPoint<T> disposalMethodInjectionPoint
protected java.util.Set<AnnotatedInjectionPoint<?,?>> disposalInjectionPoints
Constructor Detail |
---|
protected DisposalMethodBean(ManagerImpl manager, AnnotatedMethod<T> disposalMethod, AbstractClassBean<?> declaringBean)
Method Detail |
---|
protected void initType()
public AnnotatedMethod<T> getAnnotatedItem()
AbstractBean
getAnnotatedItem
in class AbstractBean<T,java.lang.reflect.Method>
public static <T> DisposalMethodBean<T> of(ManagerImpl manager, AnnotatedMethod<T> disposalMethod, AbstractClassBean<?> declaringBean)
public java.util.Set<java.lang.annotation.Annotation> getBindings()
AbstractBean
getBindings
in class AbstractBean<T,java.lang.reflect.Method>
Bean.getBindings()
public java.lang.Class<? extends java.lang.annotation.Annotation> getDeploymentType()
AbstractBean
getDeploymentType
in class AbstractBean<T,java.lang.reflect.Method>
Bean.getDeploymentType()
protected void initTypes()
initTypes
in class AbstractBean<T,java.lang.reflect.Method>
public java.util.Set<AnnotatedInjectionPoint<?,?>> getInjectionPoints()
Bean
getInjectionPoints
in class AbstractBean<T,java.lang.reflect.Method>
public java.lang.String getName()
AbstractBean
getName
in class AbstractBean<T,java.lang.reflect.Method>
Bean.getName()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScopeType()
AbstractBean
getScopeType
in class AbstractBean<T,java.lang.reflect.Method>
Bean.getScopeType()
public java.util.Set<? extends java.lang.reflect.Type> getTypes()
AbstractBean
getTypes
in class AbstractBean<T,java.lang.reflect.Method>
Bean.getTypes()
public java.lang.String toString()
AbstractBean
toString
in class AbstractBean<T,java.lang.reflect.Method>
public boolean isNullable()
AbstractBean
isNullable
in class AbstractBean<T,java.lang.reflect.Method>
Bean.isNullable()
public boolean isSerializable()
Bean
isSerializable
in class AbstractBean<T,java.lang.reflect.Method>
public T create(CreationalContext<T> creationalContext)
Contextual
creationalContext
- the creational context in which incompletely initialized
contexts may be placed
public void invokeDisposeMethod(java.lang.Object instance)
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.Class<T> getType()
AbstractBean
getType
in class AbstractBean<T,java.lang.reflect.Method>
protected java.lang.Class<? extends java.lang.annotation.Annotation> getDefaultDeploymentType()
AbstractBean
getDefaultDeploymentType
in class AbstractBean<T,java.lang.reflect.Method>
protected java.lang.String getDefaultName()
AbstractBean
getDefaultName
in class AbstractBean<T,java.lang.reflect.Method>
protected void initDeploymentType()
AbstractBean
initDeploymentType
in class AbstractBean<T,java.lang.reflect.Method>
protected void initScopeType()
AbstractBean
initScopeType
in class AbstractBean<T,java.lang.reflect.Method>
public AbstractBean<?,?> getSpecializedBean()
getSpecializedBean
in class AbstractBean<T,java.lang.reflect.Method>
public void destroy(T instance)
Contextual
instance
- the insance to destroypublic java.lang.String getId()
getId
in class RIBean<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |