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

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

public interface Annotation2ValueMetaDataAdapter<C extends Annotation>

Create ValueMetaData from Annotation.

Author:
Ales Justin

Method Summary
 ValueMetaData createValueMetaData(C annotation)
          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(C annotation)
Create ValueMetaData instance.

Parameters:
annotation - the annotation instance
Returns:
new ValueMetaData instance


Copyright ? 2007 JBoss Inc.. All Rights Reserved.