|
GigaSpaces - Open Spaces | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Component public @interface Notify
Marks an event listener as polled event listener. It will be wrapped automtically with
SimpleNotifyEventListenerContainer
.
Template can be provided using EventTemplate
marked on
a general method that returns the template.
The event listener method should be marked with SpaceDataEvent
.
TransactionalEvent
,
NotifyBatch
,
NotifyLease
,
NotifyType
Optional Element Summary | |
---|---|
NotifyComType |
commType
|
boolean |
fifo
|
String |
gigaSpace
The name of the bean that that is the GigaSpace this container will
used. |
boolean |
ignoreEventOnNullTake
|
Class<com.j_spaces.core.client.INotifyDelegatorFilter> |
notifyFilter
|
boolean |
performSnapshot
|
boolean |
performTakeOnNotify
|
public abstract String gigaSpace
GigaSpace
this container will
used.
Note, this is optional. If there is a field of type GigaSpace
it
will be used. If there is none, and there is only one GigaSpace
defined in the application context, it will be used.
public abstract boolean performSnapshot
AbstractTemplateEventListenerContainer.setPerformSnapshot(boolean)
public abstract boolean performTakeOnNotify
SimpleNotifyEventListenerContainer.setPerformTakeOnNotify(boolean)
public abstract boolean ignoreEventOnNullTake
SimpleNotifyEventListenerContainer.setIgnoreEventOnNullTake(boolean)
public abstract NotifyComType commType
AbstractNotifyEventListenerContainer.setComType(int)
public abstract boolean fifo
AbstractNotifyEventListenerContainer.setFifo(boolean)
public abstract Class<com.j_spaces.core.client.INotifyDelegatorFilter> notifyFilter
AbstractNotifyEventListenerContainer.setNotifyFilter(com.j_spaces.core.client.INotifyDelegatorFilter)
|
GigaSpaces - Open Spaces | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |