org.jboss.kernel.plugins.annotations
Class AliasesAnnotationPlugin

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

public class AliasesAnnotationPlugin
extends ClassAnnotationPlugin<Aliases>

Aliases annotation plugin.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
AliasesAnnotationPlugin()
           
 
Method Summary
protected  List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info, Aliases annotation, KernelControllerContext context)
          Apply annotation since it's not present.
protected  void internalCleanAnnotation(org.jboss.reflect.spi.ClassInfo info, org.jboss.metadata.spi.MetaData retrieval, Aliases annotation, KernelControllerContext context)
          Clean annotation's actions.
 
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, 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

AliasesAnnotationPlugin

public AliasesAnnotationPlugin()
Method Detail

internalApplyAnnotation

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

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

internalCleanAnnotation

protected void internalCleanAnnotation(org.jboss.reflect.spi.ClassInfo info,
                                       org.jboss.metadata.spi.MetaData retrieval,
                                       Aliases annotation,
                                       KernelControllerContext context)
                                throws Throwable
Description copied from class: AbstractAnnotationPlugin
Clean annotation's actions.

Overrides:
internalCleanAnnotation in class AbstractAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,Aliases>
Parameters:
info - the info
retrieval - the metadata
annotation - the annotation
context - the context
Throws:
Throwable - for any error


Copyright ? 2007 JBoss Inc.. All Rights Reserved.