org.jboss.kernel.plugins.annotations.wb
Class AnnotationsFieldInjectionAnnotationPlugin

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<T,C>
              extended by org.jboss.kernel.plugins.annotations.InjectableMemberAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,C>
                  extended by org.jboss.kernel.plugins.annotations.FieldAnnotationPlugin<Annotation>
                      extended by org.jboss.kernel.plugins.annotations.wb.AnnotationsFieldInjectionAnnotationPlugin
All Implemented Interfaces:
Cloneable, AnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Annotation>, MetaDataAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Annotation>, org.jboss.util.JBossInterface

public class AnnotationsFieldInjectionAnnotationPlugin
extends FieldAnnotationPlugin<Annotation>

Generic annotations injection metadata value creator.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
AnnotationsFieldInjectionAnnotationPlugin(Class annotation)
           
 
Method Summary
 ValueMetaData createValueMetaData(Annotation annotation, ValueMetaData previousValue)
          Create value meta data.
protected  boolean isMetaDataComplete(PropertyMetaData pmd)
          Is property metadata complete.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.FieldAnnotationPlugin
getName, isElementTypeSupported
 
Methods inherited from class org.jboss.kernel.plugins.annotations.InjectableMemberAnnotationPlugin
createValueMetaData, createValueMetaData, createValueMetaData, createValueMetaData, createValueMetaData, findPropertyMetaData, getProperties, getPropertyMetaData, getPropertyMetaData, internalApplyAnnotation, isMetaDataAlreadyPresent
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin
applyAnnotation, checkIfNotAbstractBeanMetaDataSpecific, cleanAnnotation, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation, isMetaDataAlreadyPresent
 
Methods inherited from class org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin
applyAnnotation, getAnnotation, getSupportedTypes, isAttributePresent, isAttributePresent, isCleanup, isCleanupOnly, 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
 

Constructor Detail

AnnotationsFieldInjectionAnnotationPlugin

public AnnotationsFieldInjectionAnnotationPlugin(Class annotation)
Method Detail

isMetaDataComplete

protected boolean isMetaDataComplete(PropertyMetaData pmd)
Description copied from class: InjectableMemberAnnotationPlugin
Is property metadata complete.

Overrides:
isMetaDataComplete in class InjectableMemberAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Annotation>
Parameters:
pmd - the property meta data
Returns:
true if metadata is complete

createValueMetaData

public ValueMetaData createValueMetaData(Annotation annotation,
                                         ValueMetaData previousValue)
Description copied from class: InjectableMemberAnnotationPlugin
Create value meta data.

Overrides:
createValueMetaData in class InjectableMemberAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Annotation>
Parameters:
annotation - the annotation
previousValue - previous value
Returns:
value meta data


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