Top Fields Constructors Methods
org.jboss.marshalling._private

public Class GetUnsafeAction

extends Object
implements PrivilegedAction<Unsafe>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedAction
Imports
java.lang.reflect.Field, java.security.PrivilegedAction, sun.misc.Unsafe

Field Summary

Modifier and TypeField and Description
public static final GetUnsafeAction

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Unsafe
run()

Implements java.security.PrivilegedAction.run.

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

Field Detail

INSTANCEback to summary
public static final GetUnsafeAction INSTANCE

Constructor Detail

GetUnsafeActionback to summary
private GetUnsafeAction()

Method Detail

runback to summary
public Unsafe 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:Unsafe

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.