public class

GetPropertyAction

extends Object
implements PrivilegedAction<T>
java.lang.Object
   ↳ com.sun.jmx.mbeanserver.GetPropertyAction

Class Overview

Utility class to be used by the method AccessControler.doPrivileged to get a system property.

Summary

Public Constructors
GetPropertyAction(String key)
Public Methods
String run()
Performs the computation.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.PrivilegedAction

Public Constructors

public GetPropertyAction (String key)

Public Methods

public String run ()

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

Returns
  • 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.