Package com.oracle.coherence.cdi
Interface FilterFactory<A extends Annotation,T>
-
- Type Parameters:
A
- the annotation type that the factory supportsT
- the type of value being filtered
- All Known Implementing Classes:
FilterProducer.AlwaysFilterSupplier
,FilterProducer.WhereFilterSupplier
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:
- 20.06
- Author:
- Jonathan Knight 2019.10.24
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Filter<T>
create(A annotation)
Create aFilter
instance.
-