com.ibm.di.api.local
Interface DIEventListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
JMXServerAPIListener, LogCommand, TombstoneManagerListener

public interface DIEventListener
extends EventListener

This is a base EventListener for Server API events.

In order to listen for events an implementation of this class should be provided by the user. Then reference to this implementation could be added/removed with some of these methods: com.ibm.di.api.local.impl.SessionImpl.addEventListener() com.ibm.di.api.local.impl.SessionImpl.removeEventListener()


Method Summary
 void handleEvent(DIEvent aEvent)
          Handles a specified event.
 

Method Detail

handleEvent

void handleEvent(DIEvent aEvent)
                 throws DIException
Handles a specified event.

Parameters:
aEvent - the event which needs to be handled.
Throws:
DIException - if an error occurs while trying to handle the event.