com.ibm.di.api.tm
Class TombstoneManagerListener

java.lang.Object
  extended by com.ibm.di.api.tm.TombstoneManagerListener
All Implemented Interfaces:
DIEventListener, EventListener

public class TombstoneManagerListener
extends Object
implements DIEventListener

This class handles the stop events for AssmeblyLine, EventHandlers and Config Instances and triggers the Tombstones Manager logic.


Field Summary
static String AL_ALL_TS_PARAMETER
           
static String AL_TS_SETTING_PARAMETER
           
static String CI_TS_PARAMETER
           
static String EH_ALL_TS_PARAMETER
           
static int EVENT_TYPE_STOP
           
static int EXIT_CODE_ERROR
           
static int EXIT_CODE_NORMAL
           
 
Method Summary
 void handleEvent(DIEvent aEvent)
          This method to handle 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

EVENT_TYPE_STOP

public static final int EVENT_TYPE_STOP
See Also:
Constant Field Values

EXIT_CODE_NORMAL

public static final int EXIT_CODE_NORMAL
See Also:
Constant Field Values

EXIT_CODE_ERROR

public static final int EXIT_CODE_ERROR
See Also:
Constant Field Values

AL_TS_SETTING_PARAMETER

public static final String AL_TS_SETTING_PARAMETER
See Also:
Constant Field Values

AL_ALL_TS_PARAMETER

public static final String AL_ALL_TS_PARAMETER
See Also:
Constant Field Values

EH_ALL_TS_PARAMETER

public static final String EH_ALL_TS_PARAMETER
See Also:
Constant Field Values

CI_TS_PARAMETER

public static final String CI_TS_PARAMETER
See Also:
Constant Field Values
Method Detail

initializeListener

public static void initializeListener(Session aLocalSession,
                                      TombstoneManager aTombstoneManager)
                               throws DIException
Initializes the listener.

Parameters:
aLocalSession - The local session used for registration for events.
Throws:
DIException

handleEvent

public void handleEvent(DIEvent aEvent)
                 throws DIException
This method to handle tombstone events

Specified by:
handleEvent in interface DIEventListener
Parameters:
aEvent - event object, which will be handled
Throws:
DIException