|
||||||||||
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>
org.jboss.kernel.plugins.annotations.CallbackAnnotationPlugin<T,C>
T
- info typeC
- annotation typepublic abstract class CallbackAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
Callback annotation plugin.
Field Summary |
---|
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Constructor Summary | |
---|---|
protected |
CallbackAnnotationPlugin(Class<C> annotation)
|
Method Summary | |
---|---|
protected abstract void |
applyInfo(AbstractCallbackMetaData callback,
T info)
Apply additional information. |
protected abstract AbstractCallbackMetaData |
createCallback(T info,
C annotation)
Create new CallbackMetaData instance. |
protected abstract List<CallbackMetaData> |
getCallbacks(AbstractBeanMetaData beanMetaData)
Get the callback metadatas. |
protected abstract Set<CallbackItem<?>> |
getCallbacks(DependencyInfo dependency)
Get the callbacks. |
protected List<? extends MetaDataVisitorNode> |
internalApplyAnnotation(T info,
C annotation,
BeanMetaData bmd)
Covariant override. |
protected boolean |
isElementTypeSupported(ElementType type)
Is type supported by plugin. |
protected abstract boolean |
isEqual(T info,
CallbackItem<?> ci)
Does callback item corespond to info instance. |
protected boolean |
isMetaDataAlreadyPresent(T info,
C annotation,
KernelControllerContext context)
Is meta data already present. |
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin |
---|
applyAnnotation, checkIfNotAbstractBeanMetaDataSpecific, cleanAnnotation, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation |
Methods inherited from class org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin |
---|
applyAnnotation, getAnnotation, getSupportedTypes, isAttributePresent, isAttributePresent, isCleanup, isCleanupOnly, 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 CallbackAnnotationPlugin(Class<C> annotation)
Method Detail |
---|
protected boolean isElementTypeSupported(ElementType type)
BaseMetaDataAnnotationPlugin
isElementTypeSupported
in class BaseMetaDataAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
type
- the annotation element type
protected boolean isMetaDataAlreadyPresent(T info, C annotation, KernelControllerContext context)
AbstractAnnotationPlugin
isMetaDataAlreadyPresent
in class AbstractAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
info
- the infoannotation
- the annotationcontext
- the context
protected abstract boolean isEqual(T info, CallbackItem<?> ci)
info
- the infoci
- the callback item
protected abstract Set<CallbackItem<?>> getCallbacks(DependencyInfo dependency)
dependency
- the dependency info
protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(T info, C annotation, BeanMetaData bmd)
AbstractAnnotationPlugin
internalApplyAnnotation
in class AbstractAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>
info
- the infoannotation
- the annotationbmd
- the bean meta data
protected abstract AbstractCallbackMetaData createCallback(T info, C annotation)
info
- the infoannotation
- the annotation
protected abstract void applyInfo(AbstractCallbackMetaData callback, T info)
callback
- the callback metadatainfo
- the infoprotected abstract List<CallbackMetaData> getCallbacks(AbstractBeanMetaData beanMetaData)
beanMetaData
- the bean metadata
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |