org.jboss.kernel.plugins.annotations
Class MethodInstallCallbackAnnotationPlugin

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.reflect.spi.MethodInfo>
                      extended by org.jboss.kernel.plugins.annotations.MethodInstallCallbackAnnotationPlugin
All Implemented Interfaces:
Cloneable, AnnotationPlugin<org.jboss.reflect.spi.MethodInfo,Install>, MetaDataAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,Install>, org.jboss.util.JBossInterface

public class MethodInstallCallbackAnnotationPlugin
extends InstallCallbackAnnotationPlugin<org.jboss.reflect.spi.MethodInfo>

Method install annotation plugin.

Author:
Ales Justin

Field Summary
static MethodInstallCallbackAnnotationPlugin INSTANCE
           
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected MethodInstallCallbackAnnotationPlugin()
           
 
Method Summary
protected  void applyInfo(AbstractCallbackMetaData callback, org.jboss.reflect.spi.MethodInfo info)
          Apply additional information.
protected  boolean isEqual(org.jboss.reflect.spi.MethodInfo 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.MetaDataAnnotationPlugin
applyAnnotation, getAnnotation, getSupportedTypes
 

Field Detail

INSTANCE

public static final MethodInstallCallbackAnnotationPlugin INSTANCE
Constructor Detail

MethodInstallCallbackAnnotationPlugin

protected MethodInstallCallbackAnnotationPlugin()
Method Detail

isEqual

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

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

applyInfo

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

Specified by:
applyInfo in class CallbackAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,Install>
Parameters:
callback - the callback metadata
info - the info


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