|
||||||||||
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.ManagedBeanImpl<X>
@Module public class ManagedBeanImpl<X>
SimpleBean represents a POJO Java bean registered as a WebBean.
Field Summary |
---|
Fields inherited from class com.caucho.config.inject.AbstractIntrospectedBean |
---|
CURRENT_ANN |
Constructor Summary | |
---|---|
ManagedBeanImpl(InjectManager injectManager,
AnnotatedType<X> beanType,
boolean isSessionBean)
|
|
ManagedBeanImpl(InjectManager webBeans,
AnnotatedType<X> beanType,
InjectionTarget<X> injectionTarget)
|
Method Summary | |
---|---|
X |
create(CreationalContext<X> context)
Creates a new instance of the component. |
X |
createDependent(CreationalContext<X> env)
Creates a new instance of the component. |
void |
destroy(X instance,
CreationalContext<X> cxt)
Call pre-destroy |
void |
dispose(X instance)
Call post-construct |
AnnotatedType<X> |
getAnnotatedType()
|
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the set of injection points, for validation. |
InjectionTarget<X> |
getInjectionTarget()
|
java.util.Set<ObserverMethodImpl<X,?>> |
getObserverMethods()
Returns the observer methods |
java.lang.Object |
getScopeAdapter()
|
X |
getScopeAdapter(Bean<?> topBean,
CreationalContextImpl<X> cxt)
|
void |
introspect()
|
protected void |
introspect(AnnotatedType<X> beanType)
Called for implicit introspection. |
void |
introspectProduces()
|
protected boolean |
isNormalScope()
|
protected boolean |
isProxiedScope()
|
void |
scheduleTimers(java.lang.Object value)
|
void |
setInjectionTarget(InjectionTarget<X> target)
|
boolean |
validate()
|
Methods inherited from class com.caucho.config.inject.AbstractIntrospectedBean |
---|
bind, getAnnotated, getBaseType, getBeanClass, getDefaultName, getId, getJavaClass, getName, getNamedValue, getQualifiers, getScope, getStereotypes, getTargetClass, getTargetName, getTargetSimpleName, getTargetType, getTypes, introspect, introspectDefault, introspectName, introspectQualifiers, introspectScope, introspectSpecializes, introspectStereotypes, isAlternative, isNullable, isPassivating, isPassivationCapable, setPassivating, setPassivationId, toDebugString |
Methods inherited from class com.caucho.config.inject.AbstractBean |
---|
calculatePassivationId, createObject, getBeanManager, toDisplayString, toDisplayStringImpl, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ManagedBeanImpl(InjectManager injectManager, AnnotatedType<X> beanType, boolean isSessionBean)
public ManagedBeanImpl(InjectManager webBeans, AnnotatedType<X> beanType, InjectionTarget<X> injectionTarget)
Method Detail |
---|
public AnnotatedType<X> getAnnotatedType()
getAnnotatedType
in class AbstractBean<X>
public InjectionTarget<X> getInjectionTarget()
getInjectionTarget
in class AbstractBean<X>
public void setInjectionTarget(InjectionTarget<X> target)
protected boolean isNormalScope()
isNormalScope
in class AbstractIntrospectedBean<X>
public X create(CreationalContext<X> context)
create
in interface Contextual<X>
create
in class AbstractIntrospectedBean<X>
context
- the creation context used to support circular
references.
public X createDependent(CreationalContext<X> env)
public X getScopeAdapter(Bean<?> topBean, CreationalContextImpl<X> cxt)
getScopeAdapter
in interface ScopeAdapterBean<X>
protected boolean isProxiedScope()
public java.lang.Object getScopeAdapter()
public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface Bean<X>
getInjectionPoints
in class AbstractIntrospectedBean<X>
public boolean validate()
public java.util.Set<ObserverMethodImpl<X,?>> getObserverMethods()
public void dispose(X instance)
dispose
in class AbstractIntrospectedBean<X>
public void destroy(X instance, CreationalContext<X> cxt)
destroy
in interface Contextual<X>
destroy
in class AbstractIntrospectedBean<X>
instance
- the instance to destroypublic void introspect()
introspect
in class AbstractIntrospectedBean<X>
protected void introspect(AnnotatedType<X> beanType)
public void introspectProduces()
public void scheduleTimers(java.lang.Object value)
scheduleTimers
in interface ScheduleBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |