org.jboss.kernel.plugins.annotations
Class InstallMethodParameterAnnotationPlugin

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

public class InstallMethodParameterAnnotationPlugin
extends InstallationParameterAnnotationPlugin<InstallMethod>

Install 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
InstallMethodParameterAnnotationPlugin(Set<Annotation2ValueMetaDataAdapter<? extends Annotation>> adapters)
           
 
Method Summary
protected  AbstractInstallMetaData createParametrizedMetaData(org.jboss.reflect.spi.MethodInfo info, InstallMethod 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

InstallMethodParameterAnnotationPlugin

public InstallMethodParameterAnnotationPlugin(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<InstallMethod>
Parameters:
beanMetaData - the bean metadata
Returns:
list of InstallMetaData

createParametrizedMetaData

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

Overrides:
createParametrizedMetaData in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,InstallMethod,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,InstallMethod,AbstractInstallMetaData>
Parameters:
parameterizedMetaData - the parameterized metadata
beanMetaData - the bean metadata


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