org.jboss.kernel.plugins.annotations
Class AliasesAnnotationPlugin

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

public class AliasesAnnotationPlugin
extends ClassAnnotationPlugin<Aliases>

Aliases annotation plugin.

Author:
Ales Justin

Field Summary
static AliasesAnnotationPlugin INSTANCE
           
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected AliasesAnnotationPlugin()
           
 
Method Summary
protected  List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info, org.jboss.metadata.spi.MetaData retrieval, 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, checkIfNotAbstractBeanMetaDataSpecific, cleanAnnotation, internalApplyAnnotation, internalApplyAnnotation, 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 AliasesAnnotationPlugin INSTANCE
Constructor Detail

AliasesAnnotationPlugin

protected AliasesAnnotationPlugin()
Method Detail

internalApplyAnnotation

protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info,
                                                                      org.jboss.metadata.spi.MetaData retrieval,
                                                                      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
retrieval - the metadata
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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.