|
||||||||||
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
Field Summary | |
---|---|
static String |
MBEAN_TYPE
|
Constructor Summary | |
---|---|
ServerInfo(ServerInfo aServerInfo)
|
Method Summary | |
---|---|
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. |
Boolean |
getEventHandlerAutoStart(String aEventHandlerName)
Tells if the specified EventHandler will be automatically started when the Server is started. |
String |
getEventHandlerDescription(String aEventHandlerName)
Retrieves the description of an EventHandler installed on the Server. |
String |
getEventHandlerVersionInfo(String aEventHandlerName)
Retrieves the version of an EventHandler 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. |
String |
getId()
Reads attribute "Id". |
Hashtable[] |
getInstalledConnectors()
Retrieves information for all Connectors installed on the Server. |
String[] |
getInstalledConnectorsNames()
Retrieves the names of all Connectors installed on the Server. |
Hashtable[] |
getInstalledEventHandlers()
Retrieves information for all EventHandlers installed on the Server. |
String[] |
getInstalledEventHandlersNames()
Retrieves the names of all EventHandlers 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 |
getPasswordParameterNames(String aJavaClassName)
Returns password parameters names for specified class. |
Date |
getServerBootTime()
Returns the Server boot time. |
String |
getServerVersion()
Returns Server version. |
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 String MBEAN_TYPE
Constructor Detail |
---|
public ServerInfo(ServerInfo aServerInfo)
Method Detail |
---|
public String getType()
BaseMBean
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 String getId() throws DIException
BaseMBean
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 BaseMBean
DIException
- if an error occurs while obtaining MBean's Id.public String getServerVersion() throws DIException
ServerInfoMBean
getServerVersion
in interface ServerInfoMBean
DIException
- if an error occurs while retrieving server's data.public String getIPAddress() throws DIException
ServerInfoMBean
getIPAddress
in interface ServerInfoMBean
DIException
- if an error occurs while retrieving server's data.public String getHostName() throws DIException
ServerInfoMBean
getHostName
in interface ServerInfoMBean
DIException
- if an error occurs while retrieving server's data.public String getOperatingSystem() throws DIException
ServerInfoMBean
getOperatingSystem
in interface ServerInfoMBean
DIException
- if an error occurs while retrieving server's data.public Date getServerBootTime() throws DIException
ServerInfoMBean
getServerBootTime
in interface ServerInfoMBean
java.util.Date
specifying the date and time the server
was started.
DIException
- if an error occurs while retrieving server's boot time.public Hashtable[] getInstalledConnectors() throws DIException
ServerInfoMBean
getInstalledConnectors
in interface ServerInfoMBean
java.util.Hashtable
array, each of its elements corresponding
to a single Connector.
DIException
- if an error occurs while obtaining installed
Connectors' data.public String[] getInstalledConnectorsNames() throws DIException
ServerInfoMBean
getInstalledConnectorsNames
in interface ServerInfoMBean
String
array, each of its elements specifying
a Connector name.
DIException
- if an error occurs while obtaining installed
Connectors' data.public String getConnectorDescription(String aConnectorName) throws DIException
ServerInfoMBean
getConnectorDescription
in interface ServerInfoMBean
aConnectorName
- the name of the Connector whose description will be retrieved.
DIException
- if an error occurs while obtaining Connector data.public String getConnectorVersionInfo(String aConnectorName) throws DIException
ServerInfoMBean
getConnectorVersionInfo
in interface ServerInfoMBean
aConnectorName
- the name of the Connector whose version will be retrieved.
DIException
- if an error occurs while obtaining Connector data.public Hashtable[] getInstalledEventHandlers() throws DIException
ServerInfoMBean
Boolean
that holds true
if the EventHandler will be automatically started when the server is started, and
false
otherwise.
getInstalledEventHandlers
in interface ServerInfoMBean
java.util.Hashtable
array, each of its elements corresponding
to a single EventHandler.
DIException
- if an error occurs while obtaining installed
EventHandlers' data.public String[] getInstalledEventHandlersNames() throws DIException
ServerInfoMBean
getInstalledEventHandlersNames
in interface ServerInfoMBean
String
array, each of its elements specifying
an EventHandler name.
DIException
- if an error occurs while obtaining installed
EventHandlers' data.public String getEventHandlerDescription(String aEventHandlerName) throws DIException
ServerInfoMBean
getEventHandlerDescription
in interface ServerInfoMBean
aEventHandlerName
- the name of the EventHandler whose description will be retrieved.
DIException
- if an error occurs while obtaining EventHandler data.public Boolean getEventHandlerAutoStart(String aEventHandlerName) throws DIException
ServerInfoMBean
getEventHandlerAutoStart
in interface ServerInfoMBean
aEventHandlerName
- the name of the EventHandler.
Boolean
that holds true
if the EventHandler
will be automatically started, and false
otherwise.
DIException
- if an error occurs while obtaining EventHandler data.public String getEventHandlerVersionInfo(String aEventHandlerName) throws DIException
ServerInfoMBean
getEventHandlerVersionInfo
in interface ServerInfoMBean
aEventHandlerName
- the name of the EventHandler whose version will be retrieved.
DIException
- if an error occurs while obtaining EventHandler data.public Hashtable[] getInstalledParsers() throws DIException
ServerInfoMBean
getInstalledParsers
in interface ServerInfoMBean
java.util.Hashtable
array, each of its elements corresponding
to a single Parser.
DIException
- if an error occurs while obtaining installed
Parsers' data.public String[] getInstalledParsersNames() throws DIException
ServerInfoMBean
getInstalledParsersNames
in interface ServerInfoMBean
String
array, each of its elements specifying
a Parser name.
DIException
- if an error occurs while obtaining installed
Parsers' data.public String getParserDescription(String aParserName) throws DIException
ServerInfoMBean
getParserDescription
in interface ServerInfoMBean
aParserName
- the name of the Parser whose description will be retrieved.
DIException
- if an error occurs while obtaining Parser data.public String getParserVersionInfo(String aParserName) throws DIException
ServerInfoMBean
getParserVersionInfo
in interface ServerInfoMBean
aParserName
- the name of the Parser whose version will be retrieved.
DIException
- if an error occurs while obtaining Parser data.public Hashtable[] getInstalledFunctionComponents() throws DIException
ServerInfoMBean
getInstalledFunctionComponents
in interface ServerInfoMBean
java.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 String[] getInstalledFunctionComponentsNames() throws DIException
ServerInfoMBean
getInstalledFunctionComponentsNames
in interface ServerInfoMBean
String
array, each of its elements specifying
a Function Component's name.
DIException
- if an error occurs while obtaining installed
Function Components' data.public String getFunctionComponentDescription(String aFunctionComponentName) throws DIException
ServerInfoMBean
getFunctionComponentDescription
in interface ServerInfoMBean
aFunctionComponentName
- the name of the Function Component whose description
will be retrieved.
DIException
- if an error occurs while obtaining Function Component data.public String getFunctionComponentVersionInfo(String aFunctionComponentName) throws DIException
ServerInfoMBean
getFunctionComponentVersionInfo
in interface ServerInfoMBean
aFunctionComponentName
- the name of the Function Component whose version
will be retrieved.
DIException
- if an error occurs while obtaining Function Component data.public Vector getPasswordParameterNames(String aJavaClassName) throws DIException
ServerInfoMBean
getPasswordParameterNames
in interface ServerInfoMBean
aJavaClassName
- 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 |