com.ibm.di.api.remote.impl
Class DIEventListenerBase

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by com.ibm.di.api.remote.impl.APIRemoteObject
                  extended by 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

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Method Summary
static DIEventListenerBase createInstance(DIEventListener aListener)
          Creates new instance of this class.
static DIEventListenerBase createInstance(DIEventListener aListener, boolean aSSLon)
          Creates new instance of this class.
static DIEventListenerBase createInstance(DIEventListener aListener, boolean aSSLon, boolean aUseCustomProperties)
          Creates new instance of this class.
 void handleEvent(DIEvent aEvent)
          Handles a specified event.
 
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
 

Method Detail

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 object
aSSLon - 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 object
aSSLon - if true SSL is used
aUseCustomProperties - 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.