@Module public class EventBeanImpl<T> extends java.lang.Object
| Constructor and Description |
|---|
EventBeanImpl(InjectManager beanManager,
java.lang.reflect.Type type,
java.util.HashSet<java.lang.annotation.Annotation> qualifierSet) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(<any> env) |
void |
destroy(T instance,
<any> env) |
java.lang.Class<?> |
getBeanClass() |
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() |
public EventBeanImpl(InjectManager beanManager, java.lang.reflect.Type type, java.util.HashSet<java.lang.annotation.Annotation> qualifierSet)
public java.lang.Class<?> getBeanClass()
public T create(<any> env)
public void destroy(T instance, <any> env)
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
public java.util.Set<InjectionPoint> getInjectionPoints()
public java.lang.String getName()
public boolean isNullable()
public boolean isAlternative()
public boolean isPassivationCapable()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
public java.util.Set<java.lang.reflect.Type> getTypes()
public java.lang.String toString()
toString in class java.lang.Object