API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.management. ManagementPermission View Source
Author(s)
Mandy Chung
Since
1.5
Version
1.5, 04/21/06
Serial
Hierarchy
 Object
      Permission
          BasicPermission
              ManagementPermission
Implements
Subclasses
Description
publicfinal class ManagementPermission
  The permission which the SecurityManager will check when code that is running with a SecurityManager calls methods defined in the management interface for the Java platform.
Constructors
public ManagementPermission (String name)
  Constructs a ManagementPermission with the specified name.
public ManagementPermission (String name, String actions) throws IllegalArgumentException
  Constructs a new ManagementPermission object.
Methods
Hide/Show inherited methods
public void checkGuard (Object object) throws SecurityException [Inherited From Permission]
  Implements the guard interface for a permission.
public boolean equals (Object obj) [Inherited From BasicPermission] [Specified in Permission]
  Checks two BasicPermission objects for equality.
public String getActions () [Inherited From BasicPermission] [Specified in Permission]
  Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for a BasicPermission.
publicfinal String getName () [Inherited From Permission]
  Returns the name of this Permission.
public int hashCode () [Inherited From BasicPermission] [Specified in Permission]
  Returns the hash code value for this object.
public boolean implies (Permission p) [Inherited From BasicPermission] [Specified in Permission]
  Checks if the specified permission is "implied" by this object.
public PermissionCollection newPermissionCollection () [Inherited From BasicPermission]
  Returns a new PermissionCollection object for storing BasicPermission objects.
public String toString () [Inherited From Permission]
  Returns a string describing this Permission.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar