|
||||||||||
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.ee.AbstractJavaEEResourceBean<T>
public abstract class AbstractJavaEEResourceBean<T>
Representation of a Java EE Resource bean
Constructor Summary | |
---|---|
protected |
AbstractJavaEEResourceBean(ManagerImpl manager,
java.lang.Class<? extends java.lang.annotation.Annotation> deploymentType,
java.util.Set<java.lang.annotation.Annotation> bindings,
java.lang.Class<T> type)
|
protected |
AbstractJavaEEResourceBean(ManagerImpl manager,
java.lang.Class<? extends java.lang.annotation.Annotation> deploymentType,
java.util.Set<java.lang.annotation.Annotation> bindings,
java.lang.Class<T> type,
java.lang.reflect.Type... types)
|
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 |
java.util.Set<java.lang.annotation.Annotation> |
getBindings()
The bindings of a bean |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getDeploymentType()
The deployment type of a bean |
java.util.Set<AnnotatedInjectionPoint<?,?>> |
getInjectionPoints()
The injection points of a bean |
java.lang.String |
getName()
The name of a bean |
protected java.lang.Class<T> |
getProxyClass()
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScopeType()
The scope of a bean |
RIBean<?> |
getSpecializedBean()
|
java.lang.Class<T> |
getType()
|
java.util.Set<? extends java.lang.reflect.Type> |
getTypes()
The client-visible types of a bean |
void |
initialize(BeanDeployerEnvironment environment)
|
boolean |
isDependent()
|
boolean |
isNullable()
The nullability of a bean |
boolean |
isPrimitive()
|
boolean |
isProxyable()
|
boolean |
isSerializable()
The serializability of a bean |
boolean |
isSpecializing()
|
protected abstract javassist.util.proxy.MethodHandler |
newMethodHandler()
|
Methods inherited from class org.jboss.webbeans.bean.RIBean |
---|
createId, equals, getId, getManager, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractJavaEEResourceBean(ManagerImpl manager, java.lang.Class<? extends java.lang.annotation.Annotation> deploymentType, java.util.Set<java.lang.annotation.Annotation> bindings, java.lang.Class<T> type)
manager
- the manager used to create this beandeploymentType
- the deployment type of the beanbindings
- the bindings of beantype
- the concrete type of the beanprotected AbstractJavaEEResourceBean(ManagerImpl manager, java.lang.Class<? extends java.lang.annotation.Annotation> deploymentType, java.util.Set<java.lang.annotation.Annotation> bindings, java.lang.Class<T> type, java.lang.reflect.Type... types)
manager
- the manager used to create this beandeploymentType
- the deployment type of the beanbindings
- the bindings of beantype
- the concrete type of the beanMethod Detail |
---|
public java.util.Set<java.lang.annotation.Annotation> getBindings()
Bean
getBindings
in class Bean<T>
public java.lang.Class<? extends java.lang.annotation.Annotation> getScopeType()
Bean
getScopeType
in class Bean<T>
public java.lang.String getName()
Bean
getName
in class Bean<T>
public java.lang.Class<? extends java.lang.annotation.Annotation> getDeploymentType()
Bean
getDeploymentType
in class Bean<T>
public java.lang.Class<T> getType()
getType
in class RIBean<T>
public java.util.Set<? extends java.lang.reflect.Type> getTypes()
Bean
getTypes
in class Bean<T>
public boolean isSpecializing()
isSpecializing
in class RIBean<T>
public RIBean<?> getSpecializedBean()
getSpecializedBean
in class RIBean<T>
public boolean isDependent()
isDependent
in class RIBean<T>
public java.util.Set<AnnotatedInjectionPoint<?,?>> getInjectionPoints()
Bean
getInjectionPoints
in class RIBean<T>
public boolean isNullable()
Bean
isNullable
in class Bean<T>
public boolean isPrimitive()
isPrimitive
in class RIBean<T>
public boolean isSerializable()
Bean
isSerializable
in class Bean<T>
public boolean isProxyable()
isProxyable
in class RIBean<T>
protected java.lang.Class<T> getProxyClass()
public T create(CreationalContext<T> creationalContext)
Contextual
creationalContext
- the creational context in which incompletely initialized
contexts may be placed
protected abstract javassist.util.proxy.MethodHandler newMethodHandler()
public void initialize(BeanDeployerEnvironment environment)
initialize
in class RIBean<T>
public void destroy(T instance)
Contextual
instance
- the insance to destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |