com.sun.sgs.management
Interface ConfigMXBean

All Known Implementing Classes:
ConfigManager

public interface ConfigMXBean

The immutable management information containing this node's configuration.

An instance implementing this MBean can be obtained from the from the getPlatformMBeanServer method.

The ObjectName for uniquely identifying this MBean is "com.sun.sgs:type=Config".


Field Summary
static String MXBEAN_NAME
          The name for uniquely identifying this MBean.
 
Method Summary
 String getAppListener()
          Returns the application listener class name.
 String getAppName()
          Returns the application name.
 String getAppRoot()
          Returns the application root directory name.
 String getHostName()
          Returns the host this node is running on.
 int getJmxPort()
          Returns the JMX remote listening port.
 NodeType getNodeType()
          Returns the type of this node.
 String getProtocolDescriptor()
          Returns the protocol descriptor, as a String.
 String getServerHostName()
          Returns the server host property.
 long getStandardTxnTimeout()
          Returns the standard transaction timeout, in milliseconds.
 

Field Detail

MXBEAN_NAME

static final String MXBEAN_NAME
The name for uniquely identifying this MBean.

See Also:
Constant Field Values
Method Detail

getNodeType

NodeType getNodeType()
Returns the type of this node.

Returns:
the node type

getAppName

String getAppName()
Returns the application name.

Returns:
the application name

getAppRoot

String getAppRoot()
Returns the application root directory name.

Returns:
the application root directory name

getAppListener

String getAppListener()
Returns the application listener class name.

Returns:
the class name of the application listener

getHostName

String getHostName()
Returns the host this node is running on.

Returns:
the host this node is running on

getServerHostName

String getServerHostName()
Returns the server host property.

Returns:
the server host property, which is valid for application nodes only

getJmxPort

int getJmxPort()
Returns the JMX remote listening port.

Returns:
the port JMX is listening on for remote connections, or -1 if no remote JMX connections are supported

getStandardTxnTimeout

long getStandardTxnTimeout()
Returns the standard transaction timeout, in milliseconds.

Returns:
the standard transaction timeout, in milliseconds

getProtocolDescriptor

String getProtocolDescriptor()
Returns the protocol descriptor, as a String.

Returns:
the protocol descriptor, as a String

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved