Interface ExtractorFactory<A extends Annotation,T,E>
-
- Type Parameters:
A- the annotation type that the factory supportsT- the type of the value to extract fromE- the type of value that will be extracted
public interface ExtractorFactory<A extends Annotation,T,E>A factory that produces instances ofValueExtractorfor a givenAnnotation.A
ExtractorFactoryis normally a CDI bean that is also annotated with aExtractorBindingannotation. Whenever an injection point annotated with the correspondingExtractorBindingannotation is encountered theExtractorFactorybean'screate(java.lang.annotation.Annotation)method is called to create an instance of aValueExtractor.- Since:
- 3.0
- Author:
- Gunnar Hillert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.tangosol.util.ValueExtractor<T,E>create(A annotation)Create aValueExtractorinstance.
-
-
-
Method Detail
-
create
com.tangosol.util.ValueExtractor<T,E> create(A annotation)
Create aValueExtractorinstance.- Parameters:
annotation- theAnnotationthat defines the ValueExtractor- Returns:
- a
ValueExtractorinstance
-
-