org.jboss.kernel.plugins.annotations
Class BasicBeanAnnotationAdapter
java.lang.Object
org.jboss.kernel.plugins.annotations.CommonAnnotationAdapter<AnnotationPlugin<?,?>,MetaDataVisitor>
org.jboss.kernel.plugins.annotations.AbstractBeanAnnotationAdapter
org.jboss.kernel.plugins.annotations.BasicBeanAnnotationAdapter
- All Implemented Interfaces:
- BeanAnnotationAdapter
public class BasicBeanAnnotationAdapter
- extends AbstractBeanAnnotationAdapter
Basic bean annotation handler.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static BasicBeanAnnotationAdapter INSTANCE
BasicBeanAnnotationAdapter
protected BasicBeanAnnotationAdapter()
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 © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.