org.jboss.kernel.plugins.annotations
Class DemandsAnnotationPlugin

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.ClassInfo,C>
              extended by org.jboss.kernel.plugins.annotations.ClassAnnotationPlugin<Demands>
                  extended by org.jboss.kernel.plugins.annotations.DemandsAnnotationPlugin
All Implemented Interfaces:
Cloneable, AnnotationPlugin<org.jboss.reflect.spi.ClassInfo,Demands>, MetaDataAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,Demands>, org.jboss.util.JBossInterface

public class DemandsAnnotationPlugin
extends ClassAnnotationPlugin<Demands>

Demands annotation plugin.

Author:
Ales Justin

Field Summary
static DemandsAnnotationPlugin INSTANCE
           
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected DemandsAnnotationPlugin()
           
 
Method Summary
protected  List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info, Demands annotation, BeanMetaData beanMetaData)
          Covariant override.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.ClassAnnotationPlugin
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, 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
 

Field Detail

INSTANCE

public static final DemandsAnnotationPlugin INSTANCE
Constructor Detail

DemandsAnnotationPlugin

protected DemandsAnnotationPlugin()
Method Detail

internalApplyAnnotation

protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info,
                                                                      Demands annotation,
                                                                      BeanMetaData beanMetaData)
Description copied from class: AbstractAnnotationPlugin
Covariant override.

Overrides:
internalApplyAnnotation in class AbstractAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,Demands>
Parameters:
info - the info
annotation - the annotation
beanMetaData - the bean meta data
Returns:
used to return covariant type


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