|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.tm.TombstoneManagerListener
public class TombstoneManagerListener
This class handles the stop events for AssmeblyLine and Config Instances and triggers the Tombstones Manager logic.
Field Summary | |
---|---|
static java.lang.String |
AL_ALL_TS_PARAMETER
This is the parameter in the Tombstone config object that specifies whether tombstones are turned on/off for all the AssemblyLines. |
static java.lang.String |
AL_TS_SETTING_PARAMETER
This is the parameter in the Tombstone config object of the specific AssemblyLine that specifies whether tombstones are turned on/off. |
static java.lang.String |
CI_TS_PARAMETER
This is the parameter in the Tombstone config object that specifies whether tombstones are turned on/off for the specific ConfigInstance. |
static int |
EVENT_TYPE_STOP
This constant could be used as value for the Tombstone.PROPERTY_NAME_EVENT_TYPE_ID property. |
static int |
EXIT_CODE_ERROR
This constant could be used as value for the Tombstone.PROPERTY_NAME_EXIT_CODE property. |
static int |
EXIT_CODE_NORMAL
This constant could be used as value for the Tombstone.PROPERTY_NAME_EXIT_CODE property. |
Method Summary | |
---|---|
void |
handleEvent(DIEvent aEvent)
This method handles tombstone events. |
static void |
initializeListener(Session aLocalSession,
TombstoneManager aTombstoneManager)
Initializes the listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EVENT_TYPE_STOP
Tombstone.PROPERTY_NAME_EVENT_TYPE_ID
property.
public static final int EXIT_CODE_NORMAL
Tombstone.PROPERTY_NAME_EXIT_CODE
property.
public static final int EXIT_CODE_ERROR
Tombstone.PROPERTY_NAME_EXIT_CODE
property.
public static final java.lang.String AL_TS_SETTING_PARAMETER
public static final java.lang.String AL_ALL_TS_PARAMETER
public static final java.lang.String CI_TS_PARAMETER
Method Detail |
---|
public static void initializeListener(Session aLocalSession, TombstoneManager aTombstoneManager) throws DIException
aLocalSession
- The local session used for registration for events.aTombstoneManager
- the manager responsible for initialization/usage of this
listener.
DIException
public void handleEvent(DIEvent aEvent) throws DIException
handleEvent
in interface DIEventListener
aEvent
- event object, which will be handled
DIException
DIEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |