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, java.io.Serializable, java.rmi.Remote, java.util.EventListener
public class DIEventListenerBase
- extends APIRemoteObject
- implements DIEventListener
This class implements EventListener for Server API events.
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
handleEvent
public void handleEvent(DIEvent aEvent)
throws DIException,
java.rmi.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.
java.rmi.RemoteException
- if a communication-related exception occurs.
createInstance
public static DIEventListenerBase createInstance(DIEventListener aListener,
boolean aSSLon)
throws java.lang.Exception,
java.rmi.RemoteException
- Creates new instance of this class.
- Parameters:
aListener
- the DIEventListener objectaSSLon
- if true
SSL is used
- Returns:
- DIEventListenerBase object
- Throws:
java.lang.Exception
- if Runtime or Security exception occurs
java.rmi.RemoteException
- if a communication-related exception occurs.
createInstance
public static DIEventListenerBase createInstance(DIEventListener aListener)
throws java.lang.Exception,
java.rmi.RemoteException
- Creates new instance of this class.
- Parameters:
aListener
- the DIEventListener object
- Returns:
- DIEventListenerBase object
- Throws:
java.lang.Exception
- if Runtime or Security exception occurs
java.rmi.RemoteException
- if a communication-related exception occurs.
createInstance
public static DIEventListenerBase createInstance(DIEventListener aListener,
boolean aSSLon,
boolean aUseCustomProperties)
throws java.lang.Exception,
java.rmi.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:
java.lang.Exception
- if Runtime or Security exception occurs
java.rmi.RemoteException
- if a communication-related exception occurs.