org.jboss.kernel.plugins.annotations
Class MethodAnnotationPlugin<C extends Annotation>

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<org.jboss.reflect.spi.MethodInfo,C>
              extended by org.jboss.kernel.plugins.annotations.MethodAnnotationPlugin<C>
Type Parameters:
C - annotation type
All Implemented Interfaces:
Cloneable, AnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C>, MetaDataAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C>, org.jboss.util.JBossInterface

public abstract class MethodAnnotationPlugin<C extends Annotation>
extends AbstractAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C>

Plain method annotation plugin.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected MethodAnnotationPlugin(Class<C> annotation)
           
 
Method Summary
protected  boolean isElementTypeSupported(ElementType type)
          Is type supported by plugin.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin
applyAnnotation, checkIfNotAbstractBeanMetaDataSpecific, cleanAnnotation, internalApplyAnnotation, 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

MethodAnnotationPlugin

protected MethodAnnotationPlugin(Class<C> annotation)
Method Detail

isElementTypeSupported

protected boolean isElementTypeSupported(ElementType type)
Description copied from class: BaseMetaDataAnnotationPlugin
Is type supported by plugin.

Specified by:
isElementTypeSupported in class BaseMetaDataAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C extends Annotation>
Parameters:
type - the annotation element type
Returns:
true if element supported


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