|
J2EE1.4 SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All MBeans that have system Properties must extend this interface.
Properties are always Strings. Property names are required to be unique.
ClusterConfig
,
ConfigConfig
,
DomainConfig
,
ClusteredServerConfig
,
StandaloneServerConfig
Field Summary | |
static java.lang.String |
SYSTEM_PROPERTY_PREFIX
When a key is required for a system property in a Map, its name must consist of this prefix plus the actual name. |
Method Summary | |
void |
createSystemProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Create a new system property. |
boolean |
existsSystemProperty(java.lang.String propertyName)
Return true if any system properties exist with the specified name. |
java.util.Map |
getSystemProperties()
|
java.lang.String[] |
getSystemPropertyNames()
Get the names of all system properties. |
java.lang.String |
getSystemPropertyValue(java.lang.String propertyName)
Get the value of a property. |
void |
removeSystemProperty(java.lang.String propertyName)
Remove a system property with the specified name. |
void |
setSystemPropertyValue(java.lang.String propertyName,
java.lang.String propertyValue)
Set the value of a system property. |
Field Detail |
public static final java.lang.String SYSTEM_PROPERTY_PREFIX
Method Detail |
public java.lang.String[] getSystemPropertyNames()
public java.util.Map getSystemProperties()
public java.lang.String getSystemPropertyValue(java.lang.String propertyName)
propertyName
- the name of the propertypublic void setSystemPropertyValue(java.lang.String propertyName, java.lang.String propertyValue)
propertyName
- the name of the propertypropertyValue
- the value of the propertypublic boolean existsSystemProperty(java.lang.String propertyName)
propertyName
- the name of the propertypublic void createSystemProperty(java.lang.String propertyName, java.lang.String propertyValue)
propertyName
- the name of the propertypropertyValue
- the value of the propertypublic void removeSystemProperty(java.lang.String propertyName)
propertyName
- the name of the property
|
J2EE1.4 SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.