|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.api.local.impl.ServerInfoImpl
public class ServerInfoImpl
This class implements various methods for getting server information.
| Constructor Summary | |
|---|---|
ServerInfoImpl(SessionImpl aSession)
|
|
| Method Summary | |
|---|---|
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.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerInfoImpl(SessionImpl aSession)
aSession - | Method Detail |
|---|
public java.lang.String getServerVersion()
throws DIException
getServerVersion in interface ServerInfoDIException - if an error occurs while retrieving server's data.
public java.lang.String getIPAddress()
throws DIException
getIPAddress in interface ServerInfoDIException - if an error occurs while retrieving server's data.
public java.lang.String getHostName()
throws DIException
getHostName in interface ServerInfoDIException - if an error occurs while retrieving server's data.
public java.lang.String getOperatingSystem()
throws DIException
getOperatingSystem in interface ServerInfoDIException - if an error occurs while retrieving server's data.
public java.util.Date getServerBootTime()
throws DIException
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.public java.lang.String getServerID()
getServerID in interface ServerInfo
public java.util.Hashtable<?,?>[] getInstalledConnectors()
throws DIException
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.
public java.lang.String[] getInstalledConnectorsNames()
throws DIException
getInstalledConnectorsNames in interface ServerInfoString array, each of its elements specifying a
Connector name.
DIException - if an error occurs while obtaining installed Connectors'
data.
public java.lang.String getConnectorDescription(java.lang.String aConnectorName)
throws DIException
getConnectorDescription in interface ServerInfoaConnectorName - the name of the Connector whose description will be retrieved.
DIException - if an error occurs while obtaining Connector data.
public java.lang.String getConnectorVersionInfo(java.lang.String aConnectorName)
throws DIException
getConnectorVersionInfo in interface ServerInfoaConnectorName - the name of the Connector whose version will be retrieved.
DIException - if an error occurs while obtaining Connector data.
public java.util.Hashtable<?,?>[] getInstalledParsers()
throws DIException
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.
public java.lang.String[] getInstalledParsersNames()
throws DIException
getInstalledParsersNames in interface ServerInfoString array, each of its elements specifying a
Parser name.
DIException - if an error occurs while obtaining installed Parsers' data.
public java.lang.String getParserDescription(java.lang.String aParserName)
throws DIException
getParserDescription in interface ServerInfoaParserName - the name of the Parser whose description will be retrieved.
DIException - if an error occurs while obtaining Parser data.
public java.lang.String getParserVersionInfo(java.lang.String aParserName)
throws DIException
getParserVersionInfo in interface ServerInfoaParserName - the name of the Parser whose version will be retrieved.
DIException - if an error occurs while obtaining Parser data.
public java.util.Hashtable<?,?>[] getInstalledFunctionComponents()
throws DIException
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.
public java.lang.String[] getInstalledFunctionComponentsNames()
throws DIException
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.
public java.lang.String getFunctionComponentDescription(java.lang.String aFunctionComponentName)
throws DIException
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.
public java.lang.String getFunctionComponentVersionInfo(java.lang.String aFunctionComponentName)
throws DIException
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.
public java.util.Vector<java.lang.String> getPasswordParameterNames(java.lang.String aJavaClassName)
throws DIException
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||