|
|||||||||||
| 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.APIRemoteObject
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. |
String |
getConnectorDescription(String aConnectorName)
Retrieves the description of a Connector installed on the Server. |
String |
getConnectorVersionInfo(String aConnectorName)
Retrieves the version of a Connector installed on the Server. |
String |
getFunctionComponentDescription(String aFunctionComponentName)
Retrieves the description of a Function Component installed on the Server. |
String |
getFunctionComponentVersionInfo(String aFunctionComponentName)
Retrieves the version of a Function Component installed on the Server. |
String |
getHostName()
Returns Server machine host name. |
ComponentDescriptor |
getInstalledComponentDescriptor(String componentName)
Returns the localized form information about a specific component as component descriptor object. |
Hashtable<?,?>[] |
getInstalledConnectors()
Retrieves information for all Connectors installed on the Server. |
String[] |
getInstalledConnectorsNames()
Retrieves the names of all Connectors installed on the Server. |
Hashtable<?,?>[] |
getInstalledFunctionComponents()
Retrieves information for all Function Components installed on the Server. |
String[] |
getInstalledFunctionComponentsNames()
Retrieves the names of all Function Components installed on the Server. |
Hashtable<?,?>[] |
getInstalledParsers()
Retrieves information for all Parsers installed on the Server. |
String[] |
getInstalledParsersNames()
Retrieves the names of all Parsers installed on the Server. |
String |
getIPAddress()
Returns Server machine IP address. |
String |
getOperatingSystem()
Returns the name of the operating system where the Server is running. |
String |
getParserDescription(String aParserName)
Retrieves the description of a Parser installed on the Server. |
String |
getParserVersionInfo(String aParserName)
Retrieves the version of a Parser installed on the Server. |
Vector<String> |
getPasswordParameterNames(String aJavaClassName)
Returns password parameters names for specified class. |
Date |
getServerBootTime()
Returns the Server boot time. |
String |
getServerID()
Returns the server unique identifier. |
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 String getServerVersion()
throws DIException,
RemoteException
getServerVersion in interface ServerInfoDIException - if an error occurs while retrieving server's data.
RemoteException - if a communication-related exception occurs.
public String getIPAddress()
throws DIException,
RemoteException
getIPAddress in interface ServerInfoDIException - if an error occurs while retrieving server's data.
RemoteException - if a communication-related exception occurs.
public String getHostName()
throws DIException,
RemoteException
getHostName in interface ServerInfoDIException - if an error occurs while retrieving server's data.
RemoteException - if a communication-related exception occurs.
public String getOperatingSystem()
throws DIException,
RemoteException
getOperatingSystem in interface ServerInfoDIException - if an error occurs while retrieving server's data.
RemoteException - if a communication-related exception occurs.
public Date getServerBootTime()
throws DIException,
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.
RemoteException - if a communication-related exception occurs.
public String getServerID()
throws DIException,
RemoteException
getServerID in interface ServerInfoDIException - if an error occurs while retrieving server's ID.
RemoteException - if a communication-related exception occurs.
public Hashtable<?,?>[] getInstalledConnectors()
throws DIException,
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.
RemoteException - if a communication-related exception occurs.
public String[] getInstalledConnectorsNames()
throws DIException,
RemoteException
getInstalledConnectorsNames in interface ServerInfoString array, each of its elements specifying a
Connector name.
DIException - if an error occurs while obtaining installed Connectors'
data.
RemoteException - if a communication-related exception occurs.
public String getConnectorDescription(String aConnectorName)
throws DIException,
RemoteException
getConnectorDescription in interface ServerInfoaConnectorName - the name of the Connector whose description will be retrieved.
DIException - if an error occurs while obtaining Connector data.
RemoteException - if a communication-related exception occurs.
public String getConnectorVersionInfo(String aConnectorName)
throws DIException,
RemoteException
getConnectorVersionInfo in interface ServerInfoaConnectorName - the name of the Connector whose version will be retrieved.
DIException - if an error occurs while obtaining Connector data.
RemoteException - if a communication-related exception occurs.
public Hashtable<?,?>[] getInstalledParsers()
throws DIException,
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.
RemoteException - if a communication-related exception occurs.
public String[] getInstalledParsersNames()
throws DIException,
RemoteException
getInstalledParsersNames in interface ServerInfoString array, each of its elements specifying a
Parser name.
DIException - if an error occurs while obtaining installed Parsers' data.
RemoteException - if a communication-related exception occurs.
public String getParserDescription(String aParserName)
throws DIException,
RemoteException
getParserDescription in interface ServerInfoaParserName - the name of the Parser whose description will be retrieved.
DIException - if an error occurs while obtaining Parser data.
RemoteException - if a communication-related exception occurs.
public String getParserVersionInfo(String aParserName)
throws DIException,
RemoteException
getParserVersionInfo in interface ServerInfoaParserName - the name of the Parser whose version will be retrieved.
DIException - if an error occurs while obtaining Parser data.
RemoteException - if a communication-related exception occurs.
public Hashtable<?,?>[] getInstalledFunctionComponents()
throws DIException,
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.
RemoteException - if a communication-related exception occurs.
public String[] getInstalledFunctionComponentsNames()
throws DIException,
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.
RemoteException - if a communication-related exception occurs.
public String getFunctionComponentDescription(String aFunctionComponentName)
throws DIException,
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.
RemoteException - if a communication-related exception occurs.
public String getFunctionComponentVersionInfo(String aFunctionComponentName)
throws DIException,
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.
RemoteException - if a communication-related exception occurs.
public static ServerInfoImpl createInstance(ServerInfo aLocalServerInfo,
SessionImpl aSession)
throws DIException,
RemoteException
aLocalServerInfo - local server infoaSession - the SessionImpl object
DIException - if Runtime or Security exception occurs
RemoteException - if a communication-related exception occurs.
public Vector<String> getPasswordParameterNames(String aJavaClassName)
throws DIException,
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.
RemoteException - if a communication-related exception occurs.
public ComponentDescriptor getInstalledComponentDescriptor(String componentName)
throws DIException,
RemoteException
This method is experimental. It is intended for internal use only. Backward compatibility is not guaranteed.
getInstalledComponentDescriptor in interface ServerInfocomponentName - The name of the component (e.g. ibmdi.LDAP or
system:/Connectors/ibmdi.LDAP)
DIException - if an error occurs while obtaining component data.
RemoteException - if a communication-related exception occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||