|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PropertiesMonitorMBean
Exposes current properties settings
This is necessary in part because Sun's java.lang:type=Runtime MBean
currently has a bug where if anyone has called System.setProperties()
with a Properties object that has been constructed via
new Properties( System.getProperties() ) only the non-default values are
shown by the SystemProperties attribute. Additionally, the SystemProperties
attribute is a CompositeData attribute and some consoles (like jconsole
currently) show this data in hash (rather than sorted) order.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
String[] |
getProperties()
Current properties represented as sorted key=value Strings Supported API: true |
String |
getProperty(String propertyName)
Retrieves the value of a specified property Supported API: true |
void |
setProperty(String propertyName,
String newValue)
Sets the value of a specified property. |
| Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean |
|---|
emailThisMBean |
| Method Detail |
|---|
String[] getProperties()
String getProperty(String propertyName)
propertyName - name of property to retrieve
void setProperty(String propertyName,
String newValue)
propertyName - name of property to retrievenewValue - new value to aassign to property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||