public class RespondingEventListener extends java.lang.Object implements EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
eventAction(EventMessage em)
Searches for responders to the EventAction of the event.
|
boolean |
eventValidate(EventMessage em)
Method to respond to the eventValidate action.
|
static RespondingEventListener |
getListener()
Returns the listener object.
|
static MXLogger |
getLogger()
Returns the logger object.
|
void |
postCommitEventAction(EventMessage em)
Searches for responders to the post-commit of the event.
|
void |
preSaveEventAction(EventMessage em)
Searches for responders to the PreSave part of the event.
|
public static RespondingEventListener getListener() throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static MXLogger getLogger()
public boolean eventValidate(EventMessage em) throws MXException
eventValidate in interface EventListenerMXException - The first EventResponse, whose validate action throws an exception,
halts the validation process and that exception is passed up to the source. This will prevent the
event from continuing. In this way ER's can be used to prevent status changes or such.public void preSaveEventAction(EventMessage em) throws MXException
preSaveEventAction in interface EventListenerem - The event to respond to.MXExceptionpublic void eventAction(EventMessage em) throws MXException
eventAction in interface EventListenerem - The event to respond to.MXExceptionpublic void postCommitEventAction(EventMessage em) throws MXException
postCommitEventAction in interface EventListenerem - The event to respond to.MXException