org.jboss.kernel.plugins.annotations
Class UninstallCallbackAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo>

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin<T,C>
          extended by org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin<T,C>
              extended by org.jboss.kernel.plugins.annotations.CallbackAnnotationPlugin<T,Uninstall>
                  extended by org.jboss.kernel.plugins.annotations.UninstallCallbackAnnotationPlugin<T>
Type Parameters:
T - info type
All Implemented Interfaces:
Cloneable, AnnotationPlugin<T,Uninstall>, MetaDataAnnotationPlugin<T,Uninstall>, org.jboss.util.JBossInterface
Direct Known Subclasses:
MethodUninstallCallbackAnnotationPlugin, PropertyUninstallCallbackAnnotationPlugin

public abstract class UninstallCallbackAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo>
extends CallbackAnnotationPlugin<T,Uninstall>

Uninstall annotation plugin.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected UninstallCallbackAnnotationPlugin()
           
 
Method Summary
protected  AbstractCallbackMetaData createCallback(T info, Uninstall annotation)
          Create new CallbackMetaData instance.
protected  List<CallbackMetaData> getCallbacks(AbstractBeanMetaData beanMetaData)
          Get the callback metadatas.
protected  Set<CallbackItem<?>> getCallbacks(DependencyInfo dependency)
          Get the callbacks.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.CallbackAnnotationPlugin
applyInfo, internalApplyAnnotation, isElementTypeSupported, isEqual, isMetaDataAlreadyPresent
 
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

UninstallCallbackAnnotationPlugin

protected UninstallCallbackAnnotationPlugin()
Method Detail

getCallbacks

protected Set<CallbackItem<?>> getCallbacks(DependencyInfo dependency)
Description copied from class: CallbackAnnotationPlugin
Get the callbacks.

Specified by:
getCallbacks in class CallbackAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,Uninstall>
Parameters:
dependency - the dependency info
Returns:
set of callback items

createCallback

protected AbstractCallbackMetaData createCallback(T info,
                                                  Uninstall annotation)
Description copied from class: CallbackAnnotationPlugin
Create new CallbackMetaData instance.

Specified by:
createCallback in class CallbackAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,Uninstall>
Parameters:
info - the info
annotation - the annotation
Returns:
new CallbackMetaData instance

getCallbacks

protected List<CallbackMetaData> getCallbacks(AbstractBeanMetaData beanMetaData)
Description copied from class: CallbackAnnotationPlugin
Get the callback metadatas.

Specified by:
getCallbacks in class CallbackAnnotationPlugin<T extends org.jboss.reflect.spi.AnnotatedInfo,Uninstall>
Parameters:
beanMetaData - the bean metadata
Returns:
list of callback metadatas


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.