org.jboss.kernel.plugins.annotations
Class PropertyUninstallCallbackAnnotationPlugin

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<org.jboss.beans.info.spi.PropertyInfo>
                      extended by org.jboss.kernel.plugins.annotations.PropertyUninstallCallbackAnnotationPlugin
All Implemented Interfaces:
Cloneable, AnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,Uninstall>, MetaDataAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,Uninstall>, PropertyAware, org.jboss.util.JBossInterface

public class PropertyUninstallCallbackAnnotationPlugin
extends UninstallCallbackAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo>
implements PropertyAware

Property uninstall annotation plugin.

Author:
Ales Justin

Field Summary
static PropertyUninstallCallbackAnnotationPlugin INSTANCE
           
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected PropertyUninstallCallbackAnnotationPlugin()
           
 
Method Summary
protected  void applyInfo(AbstractCallbackMetaData callback, org.jboss.beans.info.spi.PropertyInfo info)
          Apply additional information.
protected  boolean isEqual(org.jboss.beans.info.spi.PropertyInfo info, CallbackItem<?> ci)
          Does callback item corespond to info instance.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.UninstallCallbackAnnotationPlugin
createCallback, getCallbacks, getCallbacks
 
Methods inherited from class org.jboss.kernel.plugins.annotations.CallbackAnnotationPlugin
internalApplyAnnotation, isElementTypeSupported, 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.PropertyAware
applyAnnotation
 
Methods inherited from interface org.jboss.kernel.plugins.annotations.MetaDataAnnotationPlugin
applyAnnotation, getAnnotation, getSupportedTypes
 

Field Detail

INSTANCE

public static final PropertyUninstallCallbackAnnotationPlugin INSTANCE
Constructor Detail

PropertyUninstallCallbackAnnotationPlugin

protected PropertyUninstallCallbackAnnotationPlugin()
Method Detail

isEqual

protected boolean isEqual(org.jboss.beans.info.spi.PropertyInfo info,
                          CallbackItem<?> ci)
Description copied from class: CallbackAnnotationPlugin
Does callback item corespond to info instance.

Specified by:
isEqual in class CallbackAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,Uninstall>
Parameters:
info - the info
ci - the callback item
Returns:
true if callback matches info

applyInfo

protected void applyInfo(AbstractCallbackMetaData callback,
                         org.jboss.beans.info.spi.PropertyInfo info)
Description copied from class: CallbackAnnotationPlugin
Apply additional information.

Specified by:
applyInfo in class CallbackAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,Uninstall>
Parameters:
callback - the callback metadata
info - the info


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