org.jboss.spring.annotations
Class SpringBeanAnnotationPlugin
java.lang.Object
org.jboss.util.JBossObject
org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,C>
org.jboss.kernel.plugins.annotations.ClassAnnotationPlugin<SpringBean>
org.jboss.spring.annotations.SpringBeanAnnotationPlugin
- All Implemented Interfaces:
- Cloneable, AnnotationPlugin<org.jboss.reflect.spi.ClassInfo,SpringBean>, MetaDataAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,SpringBean>, org.jboss.util.JBossInterface
public class SpringBeanAnnotationPlugin
- extends ClassAnnotationPlugin<SpringBean>
Marker annotation plugin handler.
- Author:
- John Bailey, Davide Panelli
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
SpringBeanAnnotationPlugin
public SpringBeanAnnotationPlugin()
internalApplyAnnotation
protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info,
SpringBean annotation,
BeanMetaData metaData)
throws Throwable
- Description copied from class:
AbstractAnnotationPlugin
- Covariant override.
- Overrides:
internalApplyAnnotation
in class AbstractAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,SpringBean>
- Parameters:
info
- the infoannotation
- the annotationmetaData
- the bean meta data
- Returns:
- used to return covariant type
- Throws:
Throwable
- for any error
findBeanNameAwareInterface
protected PropertyMetaData findBeanNameAwareInterface(org.jboss.reflect.spi.ClassInfo info,
BeanMetaData metaData)
- Find the BeanNameAware interface.
- Parameters:
info
- the type infometaData
- the metadata
- Returns:
- bean property metadata or null if not found
isMetaDataAlreadyPresent
protected boolean isMetaDataAlreadyPresent(org.jboss.reflect.spi.ClassInfo info,
SpringBean annotation,
BeanMetaData beanMetaData)
- Description copied from class:
BaseMetaDataAnnotationPlugin
- Is meta data already present.
- Overrides:
isMetaDataAlreadyPresent
in class BaseMetaDataAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,SpringBean>
- Parameters:
info
- the infoannotation
- the annotationbeanMetaData
- the bean meta data
- Returns:
- true if meta data already present
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.