@Module public class NewBean<X> extends AbstractIntrospectedBean<X>
CURRENT_ANN| Modifier and Type | Method and Description |
|---|---|
X |
create(<any> env)
Creates a new instance of the component.
|
void |
destroy(X instance,
<any> env)
Call destroy
|
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the injection points.
|
java.lang.String |
getName()
The @New name is null.
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
The qualifiers are @New
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
The scope for @New is dependent.
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
Returns thetype closure.
|
void |
introspect() |
bind, dispose, getAnnotated, getBaseType, getBeanClass, getDefaultName, getId, getJavaClass, getNamedValue, getStereotypes, getTargetClass, getTargetName, getTargetSimpleName, getTargetType, introspect, introspectDefault, introspectName, introspectQualifiers, introspectScope, introspectSpecializes, introspectStereotypes, isAlternative, isNormalScope, isNullable, isPassivating, isPassivationCapable, setPassivating, setPassivationId, toDebugStringcalculatePassivationId, createObject, getAnnotatedType, getBeanManager, getInjectionTarget, toDisplayString, toDisplayStringImpl, toStringpublic void introspect()
introspect in class AbstractIntrospectedBean<X>public java.lang.String getName()
getName in class AbstractIntrospectedBean<X>public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in class AbstractIntrospectedBean<X>public java.util.Set<java.lang.reflect.Type> getTypes()
getTypes in class AbstractIntrospectedBean<X>public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers in class AbstractIntrospectedBean<X>public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints in class AbstractIntrospectedBean<X>public X create(<any> env)
create in class AbstractIntrospectedBean<X>public void destroy(X instance, <any> env)
AbstractIntrospectedBeandestroy in class AbstractIntrospectedBean<X>