org.jboss.kernel.plugins.annotations
Class PropertyInstallCallbackAnnotationPlugin

java.lang.Object
  extended by org.jboss.util.JBossObject
      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>, 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
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
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, org.jboss.dependency.spi.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, 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
 
Methods inherited from interface org.jboss.kernel.plugins.annotations.PropertyAware
applyAnnotation
 

Constructor Detail

PropertyInstallCallbackAnnotationPlugin

public PropertyInstallCallbackAnnotationPlugin()
Method Detail

isEqual

protected boolean isEqual(org.jboss.beans.info.spi.PropertyInfo info,
                          org.jboss.dependency.spi.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 ? 2007 JBoss Inc.. All Rights Reserved.