Save This Page
Home » JBoss-5.1.0 » org.jboss.varia » property » [javadoc | source]
org.jboss.varia.property
public interface: SystemPropertiesServiceMBean [javadoc | source]

All Implemented Interfaces:
    org$jboss$system$ServiceMBean

All Known Implementing Classes:
    SystemPropertiesService

MBean interface.
Field Summary
public static final  ObjectName OBJECT_NAME     
Method from org.jboss.varia.property.SystemPropertiesServiceMBean Summary:
addListener,   addListener,   addListeners,   exists,   get,   get,   getArray,   getArray,   getGroup,   getGroup,   load,   load,   remove,   removeListener,   set,   setProperties,   setURLList,   showAll,   showGroup
Method from org.jboss.varia.property.SystemPropertiesServiceMBean Detail:
 public  void addListener(PropertyListener listener)
    Add a property listener.
 public  void addListener(String typename) throws ClassNotFoundException, IllegalAccessException, InstantiationException
    Construct and add a property listener.
 public  void addListeners(PropertyListener[] listeners)
    Add an array of property listeners.
 public boolean exists(String name)
    Check if a system property of the given name exists.
 public String get(String name)
    Get a system property.
 public String get(String name,
    String defaultValue)
    Get a system property.
 public List getArray(String name)
    Get an array style system property.
 public List getArray(String base,
    List defaultValues)
    Get an array style system property.
 public PropertyGroup getGroup(String basename)
    Get a property group for under the given system property base.
 public PropertyGroup getGroup(String basename,
    int index)
    Get a property group for under the given system property base at the given index.
 public  void load(URL url) throws IOException
    Load some system properties from the given URL.
 public  void load(String url) throws IOException, MalformedURLException
    Load some system properties from the given URL.
 public String remove(String name)
    Remove a system property.
 public boolean removeListener(PropertyListener listener)
    Remove a property listener.
 public String set(String name,
    String value)
    Set a system property.
 public  void setProperties(Properties props) throws IOException
    Set system properties by merging the given properties object. This will replace valid references to properties of the form ${x} in 'props' or a System property with the value of x.
 public  void setURLList(String list) throws MalformedURLException, IOException
    Load system properties for each of the given comma separated urls.
 public Map showAll()
    Return a Map of System.getProperties() with a toString implementation that provides an html table of the key/value pairs.
 public Map showGroup(String basename)
    Return a Map of the property group for under the given system property base with a toString implementation that provides an html table of the key/value pairs.