|
||||||||||
| 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.ServerInfoImpl
public class ServerInfoImpl
This class implements various methods for getting server information.
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Method Summary | |
|---|---|
static ServerInfoImpl |
createInstance(ServerInfo aLocalServerInfo,
SessionImpl aSession)
Creates new instance of this class. |
java.lang.String |
getConnectorDescription(java.lang.String aConnectorName)
Retrieves the description of a Connector installed on the Server. |
java.lang.String |
getConnectorVersionInfo(java.lang.String aConnectorName)
Retrieves the version of a Connector installed on the Server. |
java.lang.String |
getFunctionComponentDescription(java.lang.String aFunctionComponentName)
Retrieves the description of a Function Component installed on the Server. |
java.lang.String |
getFunctionComponentVersionInfo(java.lang.String aFunctionComponentName)
Retrieves the version of a Function Component installed on the Server. |
java.lang.String |
getHostName()
Returns Server machine host name. |
java.util.Hashtable<?,?>[] |
getInstalledConnectors()
Retrieves information for all Connectors installed on the Server. |
java.lang.String[] |
getInstalledConnectorsNames()
Retrieves the names of all Connectors installed on the Server. |
java.util.Hashtable<?,?>[] |
getInstalledFunctionComponents()
Retrieves information for all Function Components installed on the Server. |
java.lang.String[] |
getInstalledFunctionComponentsNames()
Retrieves the names of all Function Components installed on the Server. |
java.util.Hashtable<?,?>[] |
getInstalledParsers()
Retrieves information for all Parsers installed on the Server. |
java.lang.String[] |
getInstalledParsersNames()
Retrieves the names of all Parsers installed on the Server. |
java.lang.String |
getIPAddress()
Returns Server machine IP address. |
java.lang.String |
getOperatingSystem()
Returns the name of the operating system where the Server is running. |
java.lang.String |
getParserDescription(java.lang.String aParserName)
Retrieves the description of a Parser installed on the Server. |
java.lang.String |
getParserVersionInfo(java.lang.String aParserName)
Retrieves the version of a Parser installed on the Server. |
java.util.Vector<java.lang.String> |
getPasswordParameterNames(java.lang.String aJavaClassName)
Returns password parameters names for specified class. |
java.util.Date |
getServerBootTime()
Returns the Server boot time. |
java.lang.String |
getServerID()
Returns the server unique identifier. |
java.lang.String |
getServerVersion()
Returns Server version. |
| 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 java.lang.String getServerVersion()
throws DIException,
java.rmi.RemoteException
getServerVersion in interface ServerInfoDIException - if an error occurs while retrieving server's data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getIPAddress()
throws DIException,
java.rmi.RemoteException
getIPAddress in interface ServerInfoDIException - if an error occurs while retrieving server's data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getHostName()
throws DIException,
java.rmi.RemoteException
getHostName in interface ServerInfoDIException - if an error occurs while retrieving server's data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getOperatingSystem()
throws DIException,
java.rmi.RemoteException
getOperatingSystem in interface ServerInfoDIException - if an error occurs while retrieving server's data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.util.Date getServerBootTime()
throws DIException,
java.rmi.RemoteException
getServerBootTime in interface ServerInfojava.util.Date specifying the date and time the
server was started.
DIException - if an error occurs while retrieving server's boot time.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getServerID()
throws DIException,
java.rmi.RemoteException
getServerID in interface ServerInfoDIException - if an error occurs while retrieving server's ID.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.util.Hashtable<?,?>[] getInstalledConnectors()
throws DIException,
java.rmi.RemoteException
getInstalledConnectors in interface ServerInfojava.util.Hashtable array, each of its elements
corresponding to a single Connector.
DIException - if an error occurs while obtaining installed Connectors'
data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String[] getInstalledConnectorsNames()
throws DIException,
java.rmi.RemoteException
getInstalledConnectorsNames in interface ServerInfoString array, each of its elements specifying a
Connector name.
DIException - if an error occurs while obtaining installed Connectors'
data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getConnectorDescription(java.lang.String aConnectorName)
throws DIException,
java.rmi.RemoteException
getConnectorDescription in interface ServerInfoaConnectorName - the name of the Connector whose description will be retrieved.
DIException - if an error occurs while obtaining Connector data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getConnectorVersionInfo(java.lang.String aConnectorName)
throws DIException,
java.rmi.RemoteException
getConnectorVersionInfo in interface ServerInfoaConnectorName - the name of the Connector whose version will be retrieved.
DIException - if an error occurs while obtaining Connector data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.util.Hashtable<?,?>[] getInstalledParsers()
throws DIException,
java.rmi.RemoteException
getInstalledParsers in interface ServerInfojava.util.Hashtable array, each of its elements
corresponding to a single Parser.
DIException - if an error occurs while obtaining installed Parsers' data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String[] getInstalledParsersNames()
throws DIException,
java.rmi.RemoteException
getInstalledParsersNames in interface ServerInfoString array, each of its elements specifying a
Parser name.
DIException - if an error occurs while obtaining installed Parsers' data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getParserDescription(java.lang.String aParserName)
throws DIException,
java.rmi.RemoteException
getParserDescription in interface ServerInfoaParserName - the name of the Parser whose description will be retrieved.
DIException - if an error occurs while obtaining Parser data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getParserVersionInfo(java.lang.String aParserName)
throws DIException,
java.rmi.RemoteException
getParserVersionInfo in interface ServerInfoaParserName - the name of the Parser whose version will be retrieved.
DIException - if an error occurs while obtaining Parser data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.util.Hashtable<?,?>[] getInstalledFunctionComponents()
throws DIException,
java.rmi.RemoteException
getInstalledFunctionComponents in interface ServerInfojava.util.Hashtable array, each of its elements
corresponding to a single Function Component.
DIException - if an error occurs while obtaining installed Function
Components' data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String[] getInstalledFunctionComponentsNames()
throws DIException,
java.rmi.RemoteException
getInstalledFunctionComponentsNames in interface ServerInfoString array, each of its elements specifying a
Function Component's name.
DIException - if an error occurs while obtaining installed Function
Components' data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getFunctionComponentDescription(java.lang.String aFunctionComponentName)
throws DIException,
java.rmi.RemoteException
getFunctionComponentDescription in interface ServerInfoaFunctionComponentName - the name of the Function Component whose description will be
retrieved.
DIException - if an error occurs while obtaining Function Component data.
java.rmi.RemoteException - if a communication-related exception occurs.
public java.lang.String getFunctionComponentVersionInfo(java.lang.String aFunctionComponentName)
throws DIException,
java.rmi.RemoteException
getFunctionComponentVersionInfo in interface ServerInfoaFunctionComponentName - the name of the Function Component whose version will be
retrieved.
DIException - if an error occurs while obtaining Function Component data.
java.rmi.RemoteException - if a communication-related exception occurs.
public static ServerInfoImpl createInstance(ServerInfo aLocalServerInfo,
SessionImpl aSession)
throws DIException,
java.rmi.RemoteException
aLocalServerInfo - local server infoaSession - the SessionImpl object
DIException - if Runtime or Security exception occurs
java.rmi.RemoteException - if a communication-related exception occurs.
public java.util.Vector<java.lang.String> getPasswordParameterNames(java.lang.String aJavaClassName)
throws DIException,
java.rmi.RemoteException
getPasswordParameterNames in interface ServerInfoaJavaClassName - Java class name from which password parameters names will be
taken.
DIException - if an error occurs while retrieving password parameters
names.
java.rmi.RemoteException - if a communication-related exception occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||