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

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.beans.info.spi.PropertyInfo,C>
                  extended by org.jboss.kernel.plugins.annotations.PropertyAnnotationPlugin<Inject>
                      extended by org.jboss.kernel.plugins.annotations.wb.WBInjectAnnotationPlugin
All Implemented Interfaces:
Cloneable, Annotation2ValueMetaDataAdapter<Inject>, AnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,Inject>, MetaDataAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,Inject>, PropertyAware, org.jboss.util.JBossInterface

public class WBInjectAnnotationPlugin
extends PropertyAnnotationPlugin<Inject>

Web beans kind of inject.

Author:
Ales Justin

Field Summary
static WBInjectAnnotationPlugin INSTANCE
           
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected WBInjectAnnotationPlugin()
           
 
Method Summary
 ValueMetaData createValueMetaData(org.jboss.reflect.spi.ParameterInfo info, Inject inject, ValueMetaData previousValue)
          Create value meta data.
protected  ValueMetaData createValueMetaData(org.jboss.beans.info.spi.PropertyInfo info, Inject inject)
          Create value meta data.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.PropertyAnnotationPlugin
getName, isElementTypeSupported
 
Methods inherited from class org.jboss.kernel.plugins.annotations.InjectableMemberAnnotationPlugin
createValueMetaData, createValueMetaData, createValueMetaData, createValueMetaData, findPropertyMetaData, getProperties, getPropertyMetaData, getPropertyMetaData, internalApplyAnnotation, isMetaDataAlreadyPresent, isMetaDataComplete
 
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.PropertyAware
applyAnnotation
 
Methods inherited from interface org.jboss.kernel.plugins.annotations.Annotation2ValueMetaDataAdapter
getAnnotation
 
Methods inherited from interface org.jboss.kernel.plugins.annotations.MetaDataAnnotationPlugin
applyAnnotation, getAnnotation, getSupportedTypes
 

Field Detail

INSTANCE

public static final WBInjectAnnotationPlugin INSTANCE
Constructor Detail

WBInjectAnnotationPlugin

protected WBInjectAnnotationPlugin()
Method Detail

createValueMetaData

protected ValueMetaData createValueMetaData(org.jboss.beans.info.spi.PropertyInfo info,
                                            Inject inject)
Description copied from class: InjectableMemberAnnotationPlugin
Create value meta data.

Overrides:
createValueMetaData in class InjectableMemberAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,Inject>
Parameters:
info - the info
inject - the annotation
Returns:
value metadata

createValueMetaData

public ValueMetaData createValueMetaData(org.jboss.reflect.spi.ParameterInfo info,
                                         Inject inject,
                                         ValueMetaData previousValue)
Description copied from class: InjectableMemberAnnotationPlugin
Create value meta data.

Specified by:
createValueMetaData in interface Annotation2ValueMetaDataAdapter<Inject>
Overrides:
createValueMetaData in class InjectableMemberAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,Inject>
Parameters:
info - the parameter ifo
inject - the annotation
previousValue - previous value
Returns:
value meta data


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