|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SystemPropertiesAccess
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 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(String propertyName,
String propertyValue)
Create a new system property. |
boolean |
existsSystemProperty(String propertyName)
Return true if any system properties exist with the specified name. |
Map<String,String> |
getSystemProperties()
|
String[] |
getSystemPropertyNames()
Get the names of all system properties. |
String |
getSystemPropertyValue(String propertyName)
Get the value of a property. |
void |
removeSystemProperty(String propertyName)
Remove a system property with the specified name. |
void |
setSystemPropertyValue(String propertyName,
String propertyValue)
Set the value of a system property. |
| Field Detail |
|---|
static final String SYSTEM_PROPERTY_PREFIX
| Method Detail |
|---|
String[] getSystemPropertyNames()
Map<String,String> getSystemProperties()
String getSystemPropertyValue(String propertyName)
propertyName - the name of the property
void setSystemPropertyValue(String propertyName,
String propertyValue)
propertyName - the name of the propertypropertyValue - the value of the propertyboolean existsSystemProperty(String propertyName)
propertyName - the name of the property
void createSystemProperty(String propertyName,
String propertyValue)
propertyName - the name of the propertypropertyValue - the value of the propertyvoid removeSystemProperty(String propertyName)
propertyName - the name of the property
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.