|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.ibm.di.api.remote.impl.EventHandlerImpl
public class EventHandlerImpl
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Fields inherited from interface com.ibm.di.api.remote.EventHandler |
---|
EH_TYPE_NAME, EH_TYPE_SWITCHBOARD, EH_TYPE_TRIGGER |
Method Summary | |
---|---|
static EventHandlerImpl |
createInstance(EventHandler aLocalEventHandler,
SessionImpl aSession)
|
EventHandlerConfig |
getConfig()
Returns configuration information about the EventHandler. |
ConfigInstance |
getConfigInstance()
Returns the configuration instance of the EventHandler. |
int |
getEventHandlerType()
Returns the EventHandler type. |
String |
getEventHandlerTypeName()
Returns the EventHandler type name. |
String |
getGlobalUniqueID()
Returns EventHandler GUID. |
String |
getName()
Returns the name of the EventHandler. |
TaskStatistics |
getStatistics()
This method returns the TaskStatistics object for this EventHandler. |
String |
getSystemLog()
Retrieves the current EventHandler's system log. |
String |
getSystemLogFileName()
Returns the name of the log file of the EventHandler (not prefixed by folders path). |
String |
getSystemLogFilePath()
Returns the fully-qualified path of the log file of the EventHandler. |
String |
getSystemLogLastChunk(int aLastKilobytes)
Retrieves the last chunk from the current EventHandler's system log. |
int |
getUniqueCode()
Returns the unique code of the EventHandler. |
void |
stop()
Stops the execution of the EventHandler. |
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 |
---|
public int getEventHandlerType() throws DIException, RemoteException
EventHandler
getEventHandlerType
in interface EventHandler
DIException
- if an error occurs while retrieving the EventHandler type.
RemoteException
- if a communication-related exception occurs.public String getEventHandlerTypeName() throws DIException, RemoteException
EventHandler
getEventHandlerTypeName
in interface EventHandler
DIException
- if an error occurs while retrieving EventHandler type name.
RemoteException
- if a communication-related exception occurs.public ConfigInstance getConfigInstance() throws DIException, RemoteException
EventHandler
getConfigInstance
in interface EventHandler
DIException
- if an error occurs while retrieving the configuration instance information.
RemoteException
- if a communication-related exception occurs.public String getName() throws DIException, RemoteException
EventHandler
getName
in interface EventHandler
DIException
- if an error occurs while retrieving the name of the EventHandler.
RemoteException
- if a communication-related exception occurs.public int getUniqueCode() throws DIException, RemoteException
EventHandler
getUniqueCode
in interface EventHandler
DIException
- if an error occurs while retrieving the unique code of the EventHandler.
RemoteException
- if a communication-related exception occurs.public EventHandlerConfig getConfig() throws DIException, RemoteException
EventHandler
getConfig
in interface EventHandler
DIException
- if an error occurs while retrieving the configuration information of the EventHandler.
RemoteException
- if a communication-related exception occurs.public TaskStatistics getStatistics() throws DIException, RemoteException
EventHandler
getStatistics
in interface EventHandler
DIException
- if an error occurs while getting the EventHandler statistics.
RemoteException
- if a communication-related exception occurs.public void stop() throws DIException, RemoteException
EventHandler
stop
in interface EventHandler
DIException
- if an error occurs while stopping the EventHandler.
RemoteException
- if a communication-related exception occurs.public String getSystemLogFilePath() throws DIException, RemoteException
EventHandler
getSystemLogFilePath
in interface EventHandler
DIException
- if an error occurs while obtaining EventHandler log file path.
RemoteException
- if a communication-related exception occurs.public String getSystemLogFileName() throws DIException, RemoteException
EventHandler
getSystemLogFileName
in interface EventHandler
DIException
- if an error occurs while obtaining EventHandler log file name.
RemoteException
- if a communication-related exception occurs.public String getSystemLog() throws DIException, RemoteException
EventHandler
getSystemLog
in interface EventHandler
DIException
- if an error occurs while obtaining EventHandler's log.
RemoteException
- if a communication-related exception occurs.public String getSystemLogLastChunk(int aLastKilobytes) throws DIException, RemoteException
EventHandler
getSystemLogLastChunk
in interface EventHandler
aLastKilobytes
- specifies in kilobytes the size of the log's
last chunk that will be read.
DIException
- if an error occurs while obtaining EventHandler's log.
RemoteException
- if a communication-related exception occurs.public static EventHandlerImpl createInstance(EventHandler aLocalEventHandler, SessionImpl aSession) throws DIException, RemoteException
DIException
RemoteException
public String getGlobalUniqueID() throws DIException, RemoteException
EventHandler
getGlobalUniqueID
in interface EventHandler
DIException
- if an error occurs while obtaining the EventHandler GUID value.
RemoteException
- if a communication-related exception occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |