org.jboss.kernel.plugins.annotations
Class DemandsAnnotationPlugin

java.lang.Object
  extended by org.jboss.util.JBossObject
      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>, org.jboss.util.JBossInterface

public class DemandsAnnotationPlugin
extends ClassAnnotationPlugin<Demands>

Demands annotation plugin.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
DemandsAnnotationPlugin()
           
 
Method Summary
protected  List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info, Demands annotation, KernelControllerContext context)
          Apply annotation since it's not present.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.ClassAnnotationPlugin
isElementTypeSupported
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin
applyAnnotation, cleanAnnotation, getAnnotation, getSupportedTypes, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation, isAttributePresent, isMetaDataAlreadyPresent, 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
 

Constructor Detail

DemandsAnnotationPlugin

public DemandsAnnotationPlugin()
Method Detail

internalApplyAnnotation

protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info,
                                                                      Demands annotation,
                                                                      KernelControllerContext context)
Description copied from class: AbstractAnnotationPlugin
Apply annotation since it's not present.

Overrides:
internalApplyAnnotation in class AbstractAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,Demands>
Parameters:
info - the info
annotation - the annotation
context - the context
Returns:
list of added meta data visitor nodes


Copyright ? 2007 JBoss Inc.. All Rights Reserved.