|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.kernel.ConfigManager
public class ConfigManager
The configuration manager for this node. This object contains various configuration values. Services and components fill in portions of this object with their defaults or overridden values.
The ConfigMXBean presented to JMX clients is immutable.
| Field Summary |
|---|
| Fields inherited from interface com.sun.sgs.management.ConfigMXBean |
|---|
MXBEAN_NAME |
| Constructor Summary | |
|---|---|
ConfigManager(Properties props)
Creates a config manager instance. |
|
| 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. |
void |
setJmxPort(int jmxPort)
Sets the jmxPort value. |
void |
setProtocolDescriptor(String desc)
Sets the protocol descriptor. |
void |
setStandardTxnTimeout(long timeout)
Sets the standard timeout value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigManager(Properties props)
props - properties| Method Detail |
|---|
public NodeType getNodeType()
getNodeType in interface ConfigMXBeanpublic String getAppName()
getAppName in interface ConfigMXBeanpublic String getAppRoot()
getAppRoot in interface ConfigMXBeanpublic String getAppListener()
getAppListener in interface ConfigMXBeanpublic String getHostName()
getHostName in interface ConfigMXBeanpublic String getServerHostName()
getServerHostName in interface ConfigMXBeanpublic int getJmxPort()
getJmxPort in interface ConfigMXBean-1 if no remote JMX connections are supportedpublic long getStandardTxnTimeout()
getStandardTxnTimeout in interface ConfigMXBeanpublic String getProtocolDescriptor()
String.
getProtocolDescriptor in interface ConfigMXBeanStringpublic void setStandardTxnTimeout(long timeout)
timeout - the standard timeoutpublic void setJmxPort(int jmxPort)
jmxPort - the port JMX is listening onpublic void setProtocolDescriptor(String desc)
desc - the protocol descriptor
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||