Class ReadPropertyAction
- java.lang.Object
 - 
- org.wildfly.security.manager.action.ReadPropertyAction
 
 
- 
- All Implemented Interfaces:
 PrivilegedAction<String>
public final class ReadPropertyAction extends Object implements PrivilegedAction<String>
A privileged action for reading a system property.- Author:
 - David M. Lloyd
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ReadPropertyAction(String propertyName)Construct a new instance.ReadPropertyAction(String propertyName, String defaultValue)Construct a new instance. 
 - 
 
- 
- 
Constructor Detail
- 
ReadPropertyAction
public ReadPropertyAction(String propertyName)
Construct a new instance.- Parameters:
 propertyName- the property name to read
 
 - 
 
- 
Method Detail
- 
run
public String run()
- Specified by:
 runin interfacePrivilegedAction<String>
 
 - 
 
 -