@Module public class InjectionPointBean extends java.lang.Object
| Constructor and Description |
|---|
InjectionPointBean(BeanManager manager,
InjectionPoint ij) |
| Modifier and Type | Method and Description |
|---|---|
InjectionPoint |
create(<any> env) |
void |
destroy(InjectionPoint instance,
<any> env) |
java.lang.Class<InjectionPoint> |
getBeanClass() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getDeploymentType()
Returns the bean's deployment type
|
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.
|
void |
inject(InjectionPoint instance)
Inject the bean.
|
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
|
void |
postConstruct(InjectionPoint instance)
Call post-construct
|
void |
preDestroy(InjectionPoint instance)
Call pre-destroy
|
public InjectionPointBean(BeanManager manager,
InjectionPoint ij)
public java.lang.Class<InjectionPoint> getBeanClass()
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
public java.lang.Class<? extends java.lang.annotation.Annotation> getDeploymentType()
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 InjectionPoint create(<any> env)
public void inject(InjectionPoint instance)
public void postConstruct(InjectionPoint instance)
public void preDestroy(InjectionPoint instance)
public void destroy(InjectionPoint instance,
<any> env)