Class LocalCustomEvent
java.lang.Object
com.novomind.ecom.api.iagent.common.event.CustomEvent
com.novomind.ecom.api.iagent.common.event.LocalCustomEvent
- All Implemented Interfaces:
Event,com.novomind.ecom.common.api.attribute.Named
The
LocalCustomEvent extends the CustomEvent.
Unlike the CustomEvent the LocalCustomEvent is
only processed within the same process where it has been triggered.
It does not have any limitations for the length of the attribute
values like the CustomEvent.- Since:
- 13.13
-
Constructor Summary
ConstructorsConstructorDescriptionLocalCustomEvent(String name) Constructs aLocalCustomEventwith the given name. -
Method Summary
Methods inherited from class com.novomind.ecom.api.iagent.common.event.CustomEvent
getAttribute, getAttributes, getEventDate, getName, setAttribute, toString
-
Constructor Details
-
LocalCustomEvent
Constructs aLocalCustomEventwith the given name. The name of the event is used to address the correspondingCustomEventListenerto process the event. The correspondingCustomEventListenermust be annotated with the annotationCustomEventFilterand specify a list of names of the events theCustomEventListenerwants to listen to. TheCustomEventListenerwill only be notified for events that are specified in the names attribute of the annotationCustomEventFilter.- Parameters:
name- the name of the event- Since:
- 13.13
-