Interface FilterFactory<A extends Annotation,T>
-
- Type Parameters:
A
- the annotation type that the factory supportsT
- the type of value being filtered
public interface FilterFactory<A extends Annotation,T>
A factory that produces instances ofFilter
for a givenAnnotation
.A
FilterFactory
is normally a CDI bean that is also annotated with aFilterBinding
annotation. Whenever an injection point annotated with the correspondingFilterBinding
annotation is encountered theFilterFactory
bean'screate(java.lang.annotation.Annotation)
method is called to create an instance of aFilter
.- Since:
- 3.0
- Author:
- Gunnar Hillert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.tangosol.util.Filter<T>
create(A annotation)
Create aFilter
instance.
-
-
-
Method Detail
-
create
com.tangosol.util.Filter<T> create(A annotation)
Create aFilter
instance.- Parameters:
annotation
- theAnnotation
that defines the filter- Returns:
- a
Filter
instance
-
-