|
GigaSpaces XAP 9.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.core.space.filter.AbstractFilterProviderFactoryBean org.openspaces.core.space.filter.AbstractFilterProviderAdapterFactoryBean org.openspaces.core.space.filter.AnnotationFilterFactoryBean
public class AnnotationFilterFactoryBean
A FilterProvider
factory that accepts
a Pojo filter with annotation markers as to which filter operation to listen to. The
available annotations are the different annotations found within this package with
either the Before
prefix or the After
prefix (for example:
BeforeWrite
and AfterWrite
). Filter lifecycle methods can be marked
using OnFilterInit
and OnFilterClose
annotations.
The annotated operation callback methods can different arguments. Please see
FilterOperationDelegateInvoker
for all
the different possibilities.
For a Pojo adapter that does not use annotations please see MethodFilterFactoryBean
.
FilterOperationDelegate
,
FilterProvider
,
ISpaceFilter
,
FilterOperationCodes
Constructor Summary | |
---|---|
AnnotationFilterFactoryBean()
|
Method Summary | |
---|---|
protected Method |
doGetCloseMethod()
Returns the filter lifecycle method annotated with OnFilterClose . |
protected Method |
doGetInitMethod()
Returns the filter lifecycle method annotated with OnFilterInit . |
protected Map<Integer,org.openspaces.core.space.filter.FilterOperationDelegateInvoker> |
doGetInvokerLookup()
Creates an operation code to filter invoker map based on the AbstractFilterProviderFactoryBean.getFilter()
delegate and its annotated methods. |
Methods inherited from class org.openspaces.core.space.filter.AbstractFilterProviderAdapterFactoryBean |
---|
addInvoker, doGetFilterProvider |
Methods inherited from class org.openspaces.core.space.filter.AbstractFilterProviderFactoryBean |
---|
afterPropertiesSet, getBeanName, getFilter, getFilterProvider, setActiveWhenBackup, setBeanName, setEnabled, setFilter, setPriority, setSecurityFilter, setShutdownSpaceOnInitFailure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationFilterFactoryBean()
Method Detail |
---|
protected Map<Integer,org.openspaces.core.space.filter.FilterOperationDelegateInvoker> doGetInvokerLookup()
AbstractFilterProviderFactoryBean.getFilter()
delegate and its annotated methods.
doGetInvokerLookup
in class AbstractFilterProviderAdapterFactoryBean
protected Method doGetInitMethod()
OnFilterInit
.
doGetInitMethod
in class AbstractFilterProviderAdapterFactoryBean
protected Method doGetCloseMethod()
OnFilterClose
.
doGetCloseMethod
in class AbstractFilterProviderAdapterFactoryBean
|
GigaSpaces XAP 9.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |