站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

PropertyAccess (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


org.jboss.mx.util
Class PropertyAccess

java.lang.Object
  extended byorg.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)


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