org.jboss.kernel.plugins.annotations
Class AbstractMetaDataAnnotationAdapter
java.lang.Object
org.jboss.kernel.plugins.annotations.CommonAnnotationAdapter<MetaDataAnnotationPlugin<?,?>,BeanMetaData>
org.jboss.kernel.plugins.annotations.AbstractMetaDataAnnotationAdapter
- All Implemented Interfaces:
- BeanMetaDataAnnotationAdapter
- Direct Known Subclasses:
- BasicBeanMetaDataAnnotationAdapter
public class AbstractMetaDataAnnotationAdapter
- extends CommonAnnotationAdapter<MetaDataAnnotationPlugin<?,?>,BeanMetaData>
- implements BeanMetaDataAnnotationAdapter
Abstract metadata annotation handler.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMetaDataAnnotationAdapter
public AbstractMetaDataAnnotationAdapter()
applyAnnotations
public void applyAnnotations(org.jboss.beans.info.spi.BeanInfo beanInfo,
org.jboss.metadata.spi.MetaData metaData,
BeanMetaData beanMetaData)
throws Throwable
- Description copied from interface:
BeanMetaDataAnnotationAdapter
- Apply the annotations on bean metadata.
- Specified by:
applyAnnotations
in interface BeanMetaDataAnnotationAdapter
- Parameters:
beanInfo
- the bean infometaData
- the metadatabeanMetaData
- the bean meta data
- Throws:
Throwable
- for any error
applyPlugin
protected void applyPlugin(MetaDataAnnotationPlugin plugin,
org.jboss.reflect.spi.AnnotatedInfo info,
org.jboss.metadata.spi.MetaData retrieval,
BeanMetaData handle)
throws Throwable
- Description copied from class:
CommonAnnotationAdapter
- Apply plugin.
- Specified by:
applyPlugin
in class CommonAnnotationAdapter<MetaDataAnnotationPlugin<?,?>,BeanMetaData>
- Parameters:
plugin
- the plugininfo
- the bean inforetrieval
- the metadatahandle
- the handle
- Throws:
Throwable
- for any error
cleanPlugin
protected void cleanPlugin(MetaDataAnnotationPlugin<?,?> plugin,
org.jboss.reflect.spi.AnnotatedInfo info,
org.jboss.metadata.spi.MetaData retrieval,
BeanMetaData handle)
throws Throwable
- Description copied from class:
CommonAnnotationAdapter
- Clean plugin.
- Specified by:
cleanPlugin
in class CommonAnnotationAdapter<MetaDataAnnotationPlugin<?,?>,BeanMetaData>
- Parameters:
plugin
- the plugininfo
- the bean inforetrieval
- the metadatahandle
- the handle
- Throws:
Throwable
- for any error
getName
protected Object getName(BeanMetaData handle)
- Description copied from class:
CommonAnnotationAdapter
- Get the name from handle.
- Specified by:
getName
in class CommonAnnotationAdapter<MetaDataAnnotationPlugin<?,?>,BeanMetaData>
- Parameters:
handle
- the handle
- Returns:
- handle's name
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.