|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.event.EventBeanImpl<T>
@Module public class EventBeanImpl<T>
Internal implementation for a Bean
Constructor Summary | |
---|---|
EventBeanImpl(InjectManager beanManager,
java.lang.reflect.Type type,
java.util.HashSet<java.lang.annotation.Annotation> qualifierSet)
|
Method Summary | |
---|---|
T |
create(CreationalContext<T> env)
Creates a new instance for the Contextual's type. |
void |
destroy(T instance,
CreationalContext<T> env)
Destroys an instance for the Contextual's type. |
java.lang.Class<?> |
getBeanClass()
Returns the bean class. |
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the set of injection points, for validation. |
java.lang.String |
getName()
Returns the bean's name or null if the bean does not have a primary name. |
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Returns the bean's binding annotations. |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the bean's scope type. |
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
Returns the bean's stereotype annotations. |
java.util.Set<java.lang.reflect.Type> |
getTypes()
Returns the types that the bean exports for bindings. |
boolean |
isAlternative()
Returns true if the bean can be null |
boolean |
isNullable()
Returns true if the bean can be null |
boolean |
isPassivationCapable()
Returns true if the bean is serializable |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EventBeanImpl(InjectManager beanManager, java.lang.reflect.Type type, java.util.HashSet<java.lang.annotation.Annotation> qualifierSet)
Method Detail |
---|
public java.lang.Class<?> getBeanClass()
Bean
getBeanClass
in interface Bean<T>
public T create(CreationalContext<T> env)
Contextual
create
in interface Contextual<T>
env
- the creation context used to support circular
references.
public void destroy(T instance, CreationalContext<T> env)
Contextual
@Disposal
method
@PreDestroy
methods
destroy
in interface Contextual<T>
instance
- the instance to destroypublic java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers
in interface Bean<T>
public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
getStereotypes
in interface Bean<T>
public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface Bean<T>
public java.lang.String getName()
getName
in interface Bean<T>
public boolean isNullable()
isNullable
in interface Bean<T>
public boolean isAlternative()
isAlternative
in interface Bean<T>
public boolean isPassivationCapable()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope
in interface Bean<T>
public java.util.Set<java.lang.reflect.Type> getTypes()
getTypes
in interface Bean<T>
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |