org.jboss.kernel.plugins.annotations
Class UninstallMethodParameterAnnotationPlugin

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.AbstractAdaptersAnnotationPlugin<T,C>
              extended by org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C,AbstractInstallMetaData>
                  extended by org.jboss.kernel.plugins.annotations.InstallationParameterAnnotationPlugin<UninstallMethod>
                      extended by org.jboss.kernel.plugins.annotations.UninstallMethodParameterAnnotationPlugin
All Implemented Interfaces:
Cloneable, AnnotationPlugin<org.jboss.reflect.spi.MethodInfo,UninstallMethod>, org.jboss.util.JBossInterface

public class UninstallMethodParameterAnnotationPlugin
extends InstallationParameterAnnotationPlugin<UninstallMethod>

Uninstall method annotation plugin.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.kernel.plugins.annotations.AbstractAdaptersAnnotationPlugin
adapters
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected UninstallMethodParameterAnnotationPlugin(Annotation2ValueMetaDataAdapter... adapters)
           
 
Method Summary
protected  AbstractInstallMetaData createParametrizedMetaData(org.jboss.reflect.spi.MethodInfo info, UninstallMethod annotation)
          Create new Parametrized metadata.
protected  List<InstallMetaData> getInstalls(BeanMetaData beanMetaData)
          Get the list of InstallMetaData from bean metadata.
protected  void setParameterizedMetaData(AbstractInstallMetaData parameterizedMetaData, BeanMetaData beanMetaData)
          Set the ParameterizedMetaData instance.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.InstallationParameterAnnotationPlugin
checkAnnotatedInfo, getParameters, handleParameterlessInfo, isMetaDataAlreadyPresent
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin
createParametrizedMetaData, createParametrizedMetaData, createParametrizedMetaData, handleParameterlessInfo, internalApplyAnnotation, isElementTypeSupported, setParameterizedMetaData
 
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
 

Constructor Detail

UninstallMethodParameterAnnotationPlugin

protected UninstallMethodParameterAnnotationPlugin(Annotation2ValueMetaDataAdapter... adapters)
Method Detail

getInstalls

protected List<InstallMetaData> getInstalls(BeanMetaData beanMetaData)
Description copied from class: InstallationParameterAnnotationPlugin
Get the list of InstallMetaData from bean metadata.

Specified by:
getInstalls in class InstallationParameterAnnotationPlugin<UninstallMethod>
Parameters:
beanMetaData - the bean metadata
Returns:
list of InstallMetaData

createParametrizedMetaData

protected AbstractInstallMetaData createParametrizedMetaData(org.jboss.reflect.spi.MethodInfo info,
                                                             UninstallMethod annotation)
Description copied from class: AbstractParameterAnnotationPlugin
Create new Parametrized metadata.

Overrides:
createParametrizedMetaData in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,UninstallMethod,AbstractInstallMetaData>
Parameters:
info - the info
annotation - the annotation
Returns:
new ParameterizedMetaData instance

setParameterizedMetaData

protected void setParameterizedMetaData(AbstractInstallMetaData parameterizedMetaData,
                                        BeanMetaData beanMetaData)
Description copied from class: AbstractParameterAnnotationPlugin
Set the ParameterizedMetaData instance.

Specified by:
setParameterizedMetaData in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,UninstallMethod,AbstractInstallMetaData>
Parameters:
parameterizedMetaData - the parameterized metadata
beanMetaData - the bean metadata


Copyright ? 2007 JBoss Inc.. All Rights Reserved.