org.jboss.kernel.plugins.annotations
Interface Annotation2ValueMetaDataAdapter<C extends Annotation>

Type Parameters:
C - annotation type
All Known Implementing Classes:
AnnotationsPropertyInjectionAnnotationPlugin, ArrayConstructorValueAnnotationPlugin, ArrayValueAnnotationPlugin, CollectionConstructorValueAnnotationPlugin, CollectionsAnnotationPlugin, CollectionValueAnnotationPlugin, ConstructorValueAnnotationPlugin, InjectAnnotationPlugin, InjectConstructorValueAnnotationPlugin, JavaBeanValueAnnotationPlugin, ListConstructorValueAnnotationPlugin, ListValueAnnotationPlugin, MapConstructorValueAnnotationPlugin, MapValueAnnotationPlugin, NullValueAnnotationPlugin, PropertyAnnotationPlugin, SearchPropertyAnnotationPlugin, SetConstructorValueAnnotationPlugin, SetValueAnnotationPlugin, StringValueAnnotationPlugin, StringValueConstructorValueAnnotationPlugin, ThisValueAnnotationPlugin, ValueFactoryAnnotationPlugin, ValueFactoryConstructorValueAnnotationPlugin, WBInjectAnnotationPlugin

public interface Annotation2ValueMetaDataAdapter<C extends Annotation>

Create ValueMetaData from Annotation.

Author:
Ales Justin

Method Summary
 ValueMetaData createValueMetaData(org.jboss.reflect.spi.ParameterInfo parameterInfo, C annotation, ValueMetaData previousValue)
          Create ValueMetaData instance.
 Class<C> getAnnotation()
          Get the annotation class we are handling.
 

Method Detail

getAnnotation

Class<C> getAnnotation()
Get the annotation class we are handling.

Returns:
the annotation class

createValueMetaData

ValueMetaData createValueMetaData(org.jboss.reflect.spi.ParameterInfo parameterInfo,
                                  C annotation,
                                  ValueMetaData previousValue)
Create ValueMetaData instance.

Parameters:
parameterInfo - the parameter info
annotation - the annotation instance
previousValue - previous value
Returns:
new ValueMetaData instance


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