org.jboss.kernel.plugins.annotations
Class AbstractConstructorParameterAnnotationPlugin<C extends Annotation,P extends MutableParameterizedMetaData>

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.ConstructorInfo,C,P>
                      extended by org.jboss.kernel.plugins.annotations.AbstractConstructorParameterAnnotationPlugin<C,P>
Type Parameters:
C - annotation type
P - mutable parametrized type
All Implemented Interfaces:
Cloneable, AnnotationPlugin<org.jboss.reflect.spi.ConstructorInfo,C>, MetaDataAnnotationPlugin<org.jboss.reflect.spi.ConstructorInfo,C>, org.jboss.util.JBossInterface
Direct Known Subclasses:
ConstructorParameterAnnotationPlugin

public abstract class AbstractConstructorParameterAnnotationPlugin<C extends Annotation,P extends MutableParameterizedMetaData>
extends AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.ConstructorInfo,C,P>

Annotation plugin for handling annotations that take parameters in constructors.

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 AbstractConstructorParameterAnnotationPlugin(Class<C> annotation, Set<Annotation2ValueMetaDataAdapter<? extends Annotation>> adapters)
           
 
Method Summary
protected  org.jboss.metadata.spi.signature.Signature createParametersSignature(String name, String[] parameters, int index)
          Create parameters signature.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin
checkAnnotatedInfo, createParametrizedMetaData, createParametrizedMetaData, createParametrizedMetaData, getParameters, handleParameterlessInfo, internalApplyAnnotation, isElementTypeSupported, setParameterizedMetaData
 
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, 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
 

Constructor Detail

AbstractConstructorParameterAnnotationPlugin

protected AbstractConstructorParameterAnnotationPlugin(Class<C> annotation,
                                                       Set<Annotation2ValueMetaDataAdapter<? extends Annotation>> adapters)
Method Detail

createParametersSignature

protected org.jboss.metadata.spi.signature.Signature createParametersSignature(String name,
                                                                               String[] parameters,
                                                                               int index)
Description copied from class: AbstractParameterAnnotationPlugin
Create parameters signature.

Specified by:
createParametersSignature in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.ConstructorInfo,C extends Annotation,P extends MutableParameterizedMetaData>
Parameters:
name - the name
parameters - the parameters
index - the index
Returns:
new signature


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