org.jboss.kernel.plugins.annotations
Class PropertyInstallCallbackAnnotationPlugin

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

public class PropertyInstallCallbackAnnotationPlugin
extends InstallCallbackAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo>
implements PropertyAware

Property install annotation plugin.

Author:
Ales Justin

Field Summary
static PropertyInstallCallbackAnnotationPlugin INSTANCE
           
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected PropertyInstallCallbackAnnotationPlugin()
           
 
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.InstallCallbackAnnotationPlugin
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 PropertyInstallCallbackAnnotationPlugin INSTANCE
Constructor Detail

PropertyInstallCallbackAnnotationPlugin

protected PropertyInstallCallbackAnnotationPlugin()
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,Install>
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,Install>
Parameters:
callback - the callback metadata
info - the info


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