|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.inject.DelegateProxyBean
@Module public class DelegateProxyBean
Marker bean for @Delegate injection
Field Summary | |
---|---|
static DelegateProxyBean |
BEAN
|
Constructor Summary | |
---|---|
DelegateProxyBean()
|
Method Summary | |
---|---|
java.lang.Object |
create(CreationalContext<java.lang.Object> creationalContext)
Creates a new instance for the Contextual's type. |
void |
destroy(java.lang.Object instance,
CreationalContext<java.lang.Object> creationalContext)
Destroys an instance for the Contextual's type. |
java.lang.Class<?> |
getBeanClass()
Returns the bean class. |
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 qualifier 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 stereotypes that the bean uses for priority |
java.util.Set<java.lang.reflect.Type> |
getTypes()
Returns the types that the bean exports for bindings. |
boolean |
isAlternative()
True for a disabled alternative. |
boolean |
isNullable()
Returns true if the bean can be null |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DelegateProxyBean BEAN
Constructor Detail |
---|
public DelegateProxyBean()
Method Detail |
---|
public java.lang.Class<?> getBeanClass()
Bean
getBeanClass
in interface Bean<java.lang.Object>
public java.util.Set<InjectionPoint> getInjectionPoints()
Bean
getInjectionPoints
in interface Bean<java.lang.Object>
public java.lang.String getName()
Bean
getName
in interface Bean<java.lang.Object>
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
Bean
getQualifiers
in interface Bean<java.lang.Object>
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
Bean
getScope
in interface Bean<java.lang.Object>
public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
Bean
getStereotypes
in interface Bean<java.lang.Object>
public java.util.Set<java.lang.reflect.Type> getTypes()
Bean
getTypes
in interface Bean<java.lang.Object>
public boolean isAlternative()
Bean
isAlternative
in interface Bean<java.lang.Object>
public boolean isNullable()
Bean
isNullable
in interface Bean<java.lang.Object>
public java.lang.Object create(CreationalContext<java.lang.Object> creationalContext)
Contextual
create
in interface Contextual<java.lang.Object>
creationalContext
- the creation context used to support circular
references.
public void destroy(java.lang.Object instance, CreationalContext<java.lang.Object> creationalContext)
Contextual
@Disposal
method
@PreDestroy
methods
destroy
in interface Contextual<java.lang.Object>
instance
- the instance to destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |