GenericComponentManagementBean
The GenericComponentManagementBean provides the following methods, which are described fully in the
Javadoc.
boolean deepPing() — Ask the remote server to perform a “deep ping” operation.
java.lang.String doRequest(java.lang.String request) — Execute a component-specific command.
java.lang.String getBuildNumber() — Get the component’s build number.
java.lang.String getBuildPlatform() — Get the component's build platform.
java.lang.String getComponentVersion() — Get the component’s version number.
int getRemotePort() — Get the port number that the component is listening on.
java.lang.String getCurrentDirectory() — Get the component’s current working directory path.
java.lang.String getHostname() — Get the hostname that component is running on.
GenericComponentManagement.GenericComponentInfo getInfo(java.lang.String[] categories) — Request component-specific status/configuration information.
java.lang.String[] getInterfaces() — Get the interfaces exported by the component.
long getLogicalId() — Get the unique logical ID of the component .
GenericComponentManagement.GenericComponentLogLevel getLogLevel() — Get the component's current logging level.
java.lang.String getName() — Get the name of the component, encoded as UTF-8.
long getPhysicalId() — Get the globally unique physical ID of the component.
long getPID() — Return the process identifier of the remote server.
java.lang.String getProductVersion() — Get the version number of the product the component belongs to.
java.lang.String getType() — Get the type of the component, encoded as UTF-8.
java.lang.String getUsername() — Get the effective username the component is running as.
boolean isGenericComponentManagementAvailable() — Return true if the remote server actually implements the GenericComponentManagement interface.
static void main(java.lang.String[] args) — This bean can be invoked from the command prompt.
void setLogLevel(GenericComponentManagement.GenericComponentLogLevel logLevel) — Set the component's logging level.
void shutdown(java.lang.String why) — Tell the remote server to shut itself down.