|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin<T,C>
T
- info typeC
- annotation typepublic abstract class AbstractAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
Abstract annotation plugin.
Field Summary |
---|
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Constructor Summary | |
---|---|
protected |
AbstractAnnotationPlugin(Class<C> annotation)
|
Method Summary | |
---|---|
void |
applyAnnotation(T info,
org.jboss.metadata.spi.MetaData retrieval,
MetaDataVisitor visitor)
Apply the check for annotation. |
protected AbstractBeanMetaData |
checkIfNotAbstractBeanMetaDataSpecific(BeanMetaData beanMetaData)
Check if we require impl detail on BeanMetaData. |
void |
cleanAnnotation(T info,
org.jboss.metadata.spi.MetaData retrieval,
MetaDataVisitor visitor)
Check if the annotation requires cleaning after itself. |
protected List<? extends MetaDataVisitorNode> |
internalApplyAnnotation(T info,
C annotation,
BeanMetaData beanMetaData)
Covariant override. |
protected List<? extends MetaDataVisitorNode> |
internalApplyAnnotation(T info,
org.jboss.metadata.spi.MetaData retrieval,
C annotation,
BeanMetaData beanMetaData)
Apply annotation since it's not present. |
protected List<? extends MetaDataVisitorNode> |
internalApplyAnnotation(T info,
org.jboss.metadata.spi.MetaData retrieval,
C annotation,
KernelControllerContext context)
Apply annotation since it's not present. |
protected void |
internalCleanAnnotation(T info,
org.jboss.metadata.spi.MetaData retrieval,
C annotation,
KernelControllerContext context)
Clean annotation's actions. |
protected boolean |
isMetaDataAlreadyPresent(T info,
C annotation,
KernelControllerContext context)
Is meta data already present. |
Methods inherited from class org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin |
---|
applyAnnotation, getAnnotation, getSupportedTypes, isAttributePresent, isAttributePresent, isCleanup, isCleanupOnly, isElementTypeSupported, isMetaDataAlreadyPresent, toShortString, toString |
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.kernel.plugins.annotations.MetaDataAnnotationPlugin |
---|
applyAnnotation, getAnnotation, getSupportedTypes |
Constructor Detail |
---|
protected AbstractAnnotationPlugin(Class<C> annotation)
Method Detail |
---|
protected boolean isMetaDataAlreadyPresent(T info, C annotation, KernelControllerContext context)
info
- the infoannotation
- the annotationcontext
- the context
protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(T info, org.jboss.metadata.spi.MetaData retrieval, C annotation, KernelControllerContext context) throws Throwable
info
- the inforetrieval
- the metadataannotation
- the annotationcontext
- the context
Throwable
- for any errorprotected List<? extends MetaDataVisitorNode> internalApplyAnnotation(T info, org.jboss.metadata.spi.MetaData retrieval, C annotation, BeanMetaData beanMetaData) throws Throwable
internalApplyAnnotation
in class BaseMetaDataAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
info
- the inforetrieval
- the metadataannotation
- the annotationbeanMetaData
- the bean metadata
Throwable
- for any errorprotected List<? extends MetaDataVisitorNode> internalApplyAnnotation(T info, C annotation, BeanMetaData beanMetaData) throws Throwable
internalApplyAnnotation
in class BaseMetaDataAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
info
- the infoannotation
- the annotationbeanMetaData
- the bean meta data
Throwable
- for any errorpublic final void applyAnnotation(T info, org.jboss.metadata.spi.MetaData retrieval, MetaDataVisitor visitor) throws Throwable
AnnotationPlugin
applyAnnotation
in interface AnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
info
- the inforetrieval
- metadata instancevisitor
- current context visitor
Throwable
- for any errorpublic void cleanAnnotation(T info, org.jboss.metadata.spi.MetaData retrieval, MetaDataVisitor visitor) throws Throwable
AnnotationPlugin
cleanAnnotation
in interface AnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
info
- the inforetrieval
- metadata instancevisitor
- current context visitor
Throwable
- for any errorprotected void internalCleanAnnotation(T info, org.jboss.metadata.spi.MetaData retrieval, C annotation, KernelControllerContext context) throws Throwable
info
- the inforetrieval
- the metadataannotation
- the annotationcontext
- the context
Throwable
- for any errorprotected AbstractBeanMetaData checkIfNotAbstractBeanMetaDataSpecific(BeanMetaData beanMetaData)
beanMetaData
- the bean metadata
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |