Top Fields Constructors Methods
org.jboss.modules

pack-priv Class PropertyReadAction

extends Object
implements PrivilegedAction<String>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedAction
Imports
java.security.PrivilegedAction

Author
David M. Lloyd

Field Summary

Modifier and TypeField and Description
private final String
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
PropertyReadAction(final String key, final String defVal)

Method Summary

Modifier and TypeMethod and Description
public String
run()

Implements java.security.PrivilegedAction.run.

Performs the computation.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

defValback to summary
private final String defVal
keyback to summary
private final String key

Constructor Detail

PropertyReadActionback to summary
pack-priv PropertyReadAction(final String key)
PropertyReadActionback to summary
pack-priv PropertyReadAction(final String key, final String defVal)

Method Detail

runback to summary
public String run()

Implements java.security.PrivilegedAction.run.

Doc from java.security.PrivilegedAction.run.

Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.

Returns:String

a class-dependent value that may represent the results of the computation. Each class that implements PrivilegedAction should document what (if anything) this value represents.