org.jboss.kernel.plugins.annotations
Class BasicBeanAnnotationAdapter

java.lang.Object
  extended by org.jboss.kernel.plugins.annotations.CommonAnnotationAdapter<AnnotationPlugin<?,?>,MetaDataVisitor>
      extended by org.jboss.kernel.plugins.annotations.AbstractBeanAnnotationAdapter
          extended by org.jboss.kernel.plugins.annotations.BasicBeanAnnotationAdapter
All Implemented Interfaces:
BeanAnnotationAdapter

public class BasicBeanAnnotationAdapter
extends AbstractBeanAnnotationAdapter

Basic bean annotation handler.

Author:
Ales Justin

Field Summary
static BasicBeanAnnotationAdapter INSTANCE
           
 
Fields inherited from class org.jboss.kernel.plugins.annotations.CommonAnnotationAdapter
log
 
Constructor Summary
protected BasicBeanAnnotationAdapter()
           
 
Method Summary
 void addAnnotation2ValueMetaDataAdapter(Annotation2ValueMetaDataAdapter<? extends Annotation> adapter)
          Add Annotation2ValueMetaDataAdapter adapter.
 void addAnnotationPlugin(AnnotationPlugin<?,?> plugin)
          Add the annotation plugin.
 void removeAnnotation2ValueMetaDataAdapter(Annotation2ValueMetaDataAdapter<? extends Annotation> adapter)
          Remove Annotation2ValueMetaDataAdapter adapter.
 void removeAnnotationPlugin(AnnotationPlugin<?,?> plugin)
          Remove the plugin.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractBeanAnnotationAdapter
applyAnnotations, applyPlugin, cleanAnnotations, cleanPlugin, getName, handleAnnotations
 
Methods inherited from class org.jboss.kernel.plugins.annotations.CommonAnnotationAdapter
getPlugins, getStaticMethods, handleAnnotations, handleMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static BasicBeanAnnotationAdapter INSTANCE
Constructor Detail

BasicBeanAnnotationAdapter

protected BasicBeanAnnotationAdapter()
Method Detail

addAnnotationPlugin

public void addAnnotationPlugin(AnnotationPlugin<?,?> plugin)
Description copied from class: CommonAnnotationAdapter
Add the annotation plugin. Breaks down the plugin usage into different ElementType support collections.

Overrides:
addAnnotationPlugin in class CommonAnnotationAdapter<AnnotationPlugin<?,?>,MetaDataVisitor>
Parameters:
plugin - the annotation plugin

removeAnnotationPlugin

public void removeAnnotationPlugin(AnnotationPlugin<?,?> plugin)
Description copied from class: CommonAnnotationAdapter
Remove the plugin.

Overrides:
removeAnnotationPlugin in class CommonAnnotationAdapter<AnnotationPlugin<?,?>,MetaDataVisitor>
Parameters:
plugin - the annotation plugin

addAnnotation2ValueMetaDataAdapter

public void addAnnotation2ValueMetaDataAdapter(Annotation2ValueMetaDataAdapter<? extends Annotation> adapter)
Add Annotation2ValueMetaDataAdapter adapter.

Parameters:
adapter - the Annotation2ValueMetaDataAdapter adapter

removeAnnotation2ValueMetaDataAdapter

public void removeAnnotation2ValueMetaDataAdapter(Annotation2ValueMetaDataAdapter<? extends Annotation> adapter)
Remove Annotation2ValueMetaDataAdapter adapter.

Parameters:
adapter - the Annotation2ValueMetaDataAdapter adapter


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