|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.api.jmx.mbeans.BaseAdmin
com.ibm.di.api.jmx.mbeans.ServerInfo
public class ServerInfo
This class implements various methods for getting server information.
| Field Summary | |
|---|---|
static java.lang.String |
MBEAN_TYPE
Type of the MBean. |
| Constructor Summary | |
|---|---|
ServerInfo(ServerInfo aServerInfo)
Class constructor. |
|
| 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.lang.String |
getId()
Reads attribute "Id". |
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 |
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. |
java.lang.String |
getType()
Reads attribute "Type". |
| Methods inherited from class com.ibm.di.api.jmx.mbeans.BaseAdmin |
|---|
getCurrentUserId, getKeyPropertyList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MBEAN_TYPE
| Constructor Detail |
|---|
public ServerInfo(ServerInfo aServerInfo)
aServerInfo - ServerInfo| Method Detail |
|---|
public java.lang.String getType()
getType() and getId() are used in a common
schema for object names for all MBeans in the management package. The key
properties part of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId(), for example
"type=AssemblyLine,id=Hello".
getType in interface BaseMBean
public java.lang.String getId()
throws DIException
getType() and getId() are used in a common
schema for object names for all MBeans in the management package. The key
properties part of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId(), for example
"type=AssemblyLine,id=Hello".
getId in interface BaseMBeanDIException - if an error occurs while obtaining MBean's Id.
public java.lang.String getServerVersion()
throws DIException
getServerVersion in interface ServerInfoMBeanDIException - if an error occurs while retrieving server's data.
public java.lang.String getIPAddress()
throws DIException
getIPAddress in interface ServerInfoMBeanDIException - if an error occurs while retrieving server's data.
public java.lang.String getHostName()
throws DIException
getHostName in interface ServerInfoMBeanDIException - if an error occurs while retrieving server's data.
public java.lang.String getOperatingSystem()
throws DIException
getOperatingSystem in interface ServerInfoMBeanDIException - if an error occurs while retrieving server's data.
public java.util.Date getServerBootTime()
throws DIException
getServerBootTime in interface ServerInfoMBeanjava.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()
throws DIException
getServerID in interface ServerInfoMBeanDIException - if an error occurs while retrieving server's ID.
public java.util.Hashtable[] getInstalledConnectors()
throws DIException
getInstalledConnectors in interface ServerInfoMBeanjava.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 ServerInfoMBeanString 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 ServerInfoMBeanaConnectorName - 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 ServerInfoMBeanaConnectorName - 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 ServerInfoMBeanjava.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 ServerInfoMBeanString 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 ServerInfoMBeanaParserName - 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 ServerInfoMBeanaParserName - 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 ServerInfoMBeanjava.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 ServerInfoMBeanString 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 ServerInfoMBeanaFunctionComponentName - 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 ServerInfoMBeanaFunctionComponentName - 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 getPasswordParameterNames(java.lang.String aJavaClassName)
throws DIException
getPasswordParameterNames in interface ServerInfoMBeanaJavaClassName - 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 | ||||||||||