org.jboss.mx.util
Class PropertyAccess

java.lang.Object
  extended by org.jboss.mx.util.PropertyAccess

public class PropertyAccess
extends Object

System property access utilties that encapsulate the AccessController.doPrivileged calls required when running with a security manager. Use to access system properties when the callers permissions should not dictate whether or not access is allowed.

Version:
$Revision: 57200 $
Author:
Scott.Stark@jboss.org

Constructor Summary
PropertyAccess()
           
 
Method Summary
static String getProperty(String name)
           
static String getProperty(String name, String defaultValue)
           
static String setProperty(String name, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyAccess

public PropertyAccess()
Method Detail

getProperty

public static String getProperty(String name)

getProperty

public static String getProperty(String name,
                                 String defaultValue)

setProperty

public static String setProperty(String name,
                                 String value)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.