|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.yoko.orb.util.GetSystemPropertyAction
public class GetSystemPropertyAction
Simple utility class for retrieving a system property value using the AccessController.
Constructor Summary | |
---|---|
GetSystemPropertyAction(String name)
Retrive a value using the name with no default value. |
|
GetSystemPropertyAction(String name,
String defaultValue)
Retrieve a property using a name and a specified default value. |
Method Summary | |
---|---|
Object |
run()
Perform the AccessController action of retrieving the system property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetSystemPropertyAction(String name)
name
- The property name.public GetSystemPropertyAction(String name, String defaultValue)
name
- The property name.defaultValue
- The default value if the property has not been set.Method Detail |
---|
public Object run()
run
in interface PrivilegedAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |