org.jboss.kernel.plugins.annotations
Class UninstallMethodParameterAnnotationPlugin

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.AbstractAdaptersAnnotationPlugin<T,C>
                  extended by org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C,P>
                      extended by org.jboss.kernel.plugins.annotations.AbstractMethodParameterAnnotationPlugin<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>, MetaDataAnnotationPlugin<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
UninstallMethodParameterAnnotationPlugin(Set<Annotation2ValueMetaDataAdapter<? extends Annotation>> 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.AbstractMethodParameterAnnotationPlugin
createParametersSignature
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin
createParametrizedMetaData, createParametrizedMetaData, internalApplyAnnotation, isElementTypeSupported
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin
applyAnnotation, checkIfNotAbstractBeanMetaDataSpecific, cleanAnnotation, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation, isMetaDataAlreadyPresent
 
Methods inherited from class org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin
applyAnnotation, getAnnotation, getSupportedTypes, isAttributePresent, isAttributePresent, isCleanup, isCleanupOnly, 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
 

Constructor Detail

UninstallMethodParameterAnnotationPlugin

public UninstallMethodParameterAnnotationPlugin(Set<Annotation2ValueMetaDataAdapter<? extends Annotation>> 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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.