|
||||||||||
| 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.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<org.jboss.dependency.spi.CallbackItem<?>> |
getCallbacks(org.jboss.dependency.spi.DependencyInfo dependency)
Get the callbacks. |
protected List<? extends MetaDataVisitorNode> |
internalApplyAnnotation(T info,
C annotation,
KernelControllerContext context)
Apply annotation since it's not present. |
protected boolean |
isElementTypeSupported(ElementType type)
Is type supported by plugin. |
protected abstract boolean |
isEqual(T info,
org.jboss.dependency.spi.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, cleanAnnotation, getAnnotation, getSupportedTypes, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation, isAttributePresent, 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 |
| Constructor Detail |
|---|
protected CallbackAnnotationPlugin(Class<C> annotation)
| Method Detail |
|---|
protected boolean isElementTypeSupported(ElementType type)
AbstractAnnotationPlugin
isElementTypeSupported in class AbstractAnnotationPlugin<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,
org.jboss.dependency.spi.CallbackItem<?> ci)
info - the infoci - the callback item
protected abstract Set<org.jboss.dependency.spi.CallbackItem<?>> getCallbacks(org.jboss.dependency.spi.DependencyInfo dependency)
dependency - the dependency info
protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(T info,
C annotation,
KernelControllerContext context)
AbstractAnnotationPlugin
internalApplyAnnotation in class AbstractAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,C extends Annotation>info - the infoannotation - the annotationcontext - the context
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 | |||||||||