|
GigaSpaces XAP 9.7.2 API | |||||||||
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 | |
---|---|
boolean |
autoStart
Set whether this container will start once instantiated. |
NotifyComType |
commType
Deprecated. This configuration is redundant and has no affect. |
boolean |
durable
|
boolean |
fifo
|
String |
gigaSpace
The name of the bean that is the GigaSpace this container will
use. |
boolean |
guaranteed
Deprecated. |
boolean |
ignoreEventOnNullTake
|
Class<INotifyDelegatorFilter> |
notifyFilter
|
boolean |
passArrayAsIs
When batching is turned on, should the batch of events be passed as an Object[] to
the listener. |
boolean |
performSnapshot
|
boolean |
performTakeOnNotify
|
ReplicateNotifyTemplateType |
replicateNotifyTemplate
|
TriggerNotifyTemplateType |
triggerNotifyTemplate
|
String |
value
The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component. |
public abstract String value
public abstract String gigaSpace
GigaSpace
this container will
use.
Note, this is optional. If 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)
@Deprecated public abstract boolean guaranteed
AbstractNotifyEventListenerContainer.setGuaranteed(Boolean)
public abstract boolean durable
AbstractNotifyEventListenerContainer.setDurable(Boolean)
@Deprecated public abstract NotifyComType commType
public abstract boolean fifo
AbstractNotifyEventListenerContainer.setFifo(boolean)
public abstract boolean passArrayAsIs
Object[]
to
the listener. Default to false
which means it will be passed one event at a time.
AbstractNotifyEventListenerContainer.setPassArrayAsIs(boolean)
public abstract Class<INotifyDelegatorFilter> notifyFilter
AbstractNotifyEventListenerContainer.setNotifyFilter(com.j_spaces.core.client.INotifyDelegatorFilter)
public abstract boolean autoStart
Default is true
. Set to false
in order for this container to
be started using AbstractSpaceListeningContainer.start()
.
public abstract ReplicateNotifyTemplateType replicateNotifyTemplate
AbstractNotifyEventListenerContainer.setReplicateNotifyTemplate(boolean)
public abstract TriggerNotifyTemplateType triggerNotifyTemplate
AbstractNotifyEventListenerContainer.setTriggerNotifyTemplate(boolean)
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |