com.ibm.di.api.remote.impl
Class DIEventListenerBase
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.ibm.di.api.remote.impl.APIRemoteObject
com.ibm.di.api.remote.impl.DIEventListenerBase
- All Implemented Interfaces:
- DIEventListener, RemoteListener, Serializable, Remote, EventListener
public class DIEventListenerBase
- extends APIRemoteObject
- implements DIEventListener
This class implements EventListener for Server API events.
- See Also:
- Serialized Form
handleEvent
public void handleEvent(DIEvent aEvent)
throws DIException,
RemoteException
- Handles a specified event.
- Specified by:
handleEvent
in interface DIEventListener
- Parameters:
aEvent
- the event which needs to be handled.
- Throws:
DIException
- if an error occurs while trying to handle the event.
RemoteException
- if a communication-related exception occurs.
createInstance
public static DIEventListenerBase createInstance(DIEventListener aListener,
boolean aSSLon)
throws Exception,
RemoteException
- Creates new instance of this class.
- Parameters:
aListener
- the DIEventListener objectaSSLon
- if true
SSL is used
- Returns:
- DIEventListenerBase object
- Throws:
Exception
- if Runtime or Security exception occurs
RemoteException
- if a communication-related exception occurs.
createInstance
public static DIEventListenerBase createInstance(DIEventListener aListener)
throws Exception,
RemoteException
- Creates new instance of this class.
- Parameters:
aListener
- the DIEventListener object
- Returns:
- DIEventListenerBase object
- Throws:
Exception
- if Runtime or Security exception occurs
RemoteException
- if a communication-related exception occurs.
createInstance
public static DIEventListenerBase createInstance(DIEventListener aListener,
boolean aSSLon,
boolean aUseCustomProperties)
throws Exception,
RemoteException
- Creates new instance of this class.
- Parameters:
aListener
- the DIEventListener objectaSSLon
- if true
SSL is usedaUseCustomProperties
- if true
custom user properties are used.
- Returns:
- DIEventListenerBase object
- Throws:
Exception
- if Runtime or Security exception occurs
RemoteException
- if a communication-related exception occurs.