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

## org.apache.cxf.common.util
Class SystemPropertyAction

    java.lang.Object
      org.apache.cxf.common.util.SystemPropertyAction

All Implemented Interfaces:
  PrivilegedAction<String>

    public final class SystemPropertyAction

extends Object
implements PrivilegedAction<String>

Method Summary
`static String` | `getProperty(String name)`
`static String` | `getProperty(String name, String def)`
`static String` | `getPropertyOrNull(String name)` Get the system propery via the AccessController, but if a SecurityException is raised, just return null;
`String` | `run()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### run

    public String run()

  Specified by:
    `run` in interface `PrivilegedAction<String>`

### getProperty

    public static String getProperty(String name)

### getProperty

    public static String getProperty(String name,
                                     String def)

### getPropertyOrNull

    public static String getPropertyOrNull(String name)

  Get the system propery via the AccessController, but if a SecurityException is raised, just return null;

  Parameters:
    `name` -
  Returns:

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

Apache CXF