Top Description Fields Constructors Methods
jakarta.xml.bind

pack-priv final Class GetPropertyAction

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

PrivilegedAction that gets the system property value.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
GetPropertyAction(String propertyName)

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

propertyNameback to summary
private final String propertyName

Constructor Detail

GetPropertyActionback to summary
public GetPropertyAction(String propertyName)

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.

Annotations
@Override