|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.inject.AbstractBean<T>
com.caucho.config.inject.AbstractIntrospectedBean<X>
com.caucho.config.inject.NewBean<X>
@Module public class NewBean<X>
NewBean represents the SimpleBean created through the @New interface.
Field Summary |
---|
Fields inherited from class com.caucho.config.inject.AbstractIntrospectedBean |
---|
CURRENT_ANN |
Method Summary | |
---|---|
X |
create(CreationalContext<X> env)
Creates a new instance of the component. |
void |
destroy(X instance,
CreationalContext<X> 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()
|
Methods inherited from class com.caucho.config.inject.AbstractIntrospectedBean |
---|
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, toDebugString |
Methods inherited from class com.caucho.config.inject.AbstractBean |
---|
calculatePassivationId, createObject, getAnnotatedType, getBeanManager, getInjectionTarget, toDisplayString, toDisplayStringImpl, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void introspect()
introspect
in class AbstractIntrospectedBean<X>
public java.lang.String getName()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
public java.util.Set<java.lang.reflect.Type> getTypes()
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers
in interface Bean<X>
getQualifiers
in class AbstractIntrospectedBean<X>
public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface Bean<X>
getInjectionPoints
in class AbstractIntrospectedBean<X>
public X create(CreationalContext<X> env)
create
in interface Contextual<X>
create
in class AbstractIntrospectedBean<X>
env
- the creation context used to support circular
references.
public void destroy(X instance, CreationalContext<X> env)
AbstractIntrospectedBean
destroy
in interface Contextual<X>
destroy
in class AbstractIntrospectedBean<X>
instance
- the instance to destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |