com.caucho.config.extension
Class BeforeBeanDiscoveryImpl
java.lang.Object
com.caucho.config.extension.BeforeBeanDiscoveryImpl
- All Implemented Interfaces:
- BeforeBeanDiscovery
@Module
public class BeforeBeanDiscoveryImpl
- extends java.lang.Object
- implements BeforeBeanDiscovery
Method Summary |
void |
addAnnotatedType(AnnotatedType<?> annType)
Registers an annotated type with the BeanManager, used by extensions to
register configured beans. |
void |
addInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType,
java.lang.annotation.Annotation... bindings)
|
void |
addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
Registers an annotation as a binding type, so applications can use
existing annotations for binding without modifying the annotation
source. |
void |
addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType,
boolean isNormal,
boolean isPassivating)
|
void |
addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype,
java.lang.annotation.Annotation... stereotypeDef)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
addAnnotatedType
public void addAnnotatedType(AnnotatedType<?> annType)
- Description copied from interface:
BeforeBeanDiscovery
- Registers an annotated type with the BeanManager, used by extensions to
register configured beans.
- Specified by:
addAnnotatedType
in interface BeforeBeanDiscovery
- Parameters:
annType
- the abstract introspected type for the new bean
addQualifier
public void addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
- Description copied from interface:
BeforeBeanDiscovery
- Registers an annotation as a binding type, so applications can use
existing annotations for binding without modifying the annotation
source.
- Specified by:
addQualifier
in interface BeforeBeanDiscovery
addScope
public void addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType,
boolean isNormal,
boolean isPassivating)
- Specified by:
addScope
in interface BeforeBeanDiscovery
addStereotype
public void addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype,
java.lang.annotation.Annotation... stereotypeDef)
- Specified by:
addStereotype
in interface BeforeBeanDiscovery
addInterceptorBinding
public void addInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType,
java.lang.annotation.Annotation... bindings)
- Specified by:
addInterceptorBinding
in interface BeforeBeanDiscovery
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object