Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.mx.util
Class PropertyAccess

    java.lang.Object
      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: 1.1 $
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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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