public final class ManagementPermission extends BasicPermission
Instances of this type are normally created by security code.
| Constructor and Description |
|---|
ManagementPermission(String name)
Creates a new instance of
ManagementPermission with
the given name. |
ManagementPermission(String name,
String actions)
Creates a new instance of
ManagementPermission with
the given name and permitted actions. |
equals, getActions, hashCode, implies, newPermissionCollectioncheckGuard, getName, toStringpublic ManagementPermission(String name)
ManagementPermission with
the given name.name - the name of the permission. The only acceptable values
are the strings "control" or "monitor".IllegalArgumentException - if name is not one of
the string values "control" or "monitor".NullPointerException - if name is null.public ManagementPermission(String name, String actions)
ManagementPermission with
the given name and permitted actions.name - the name of the permission. The only acceptable values
are the strings "control" or "monitor".actions - this argument must either be an empty string or
null.NullPointerException - if name is null.Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1993, 2025 IBM Corp. and others.
DRAFT internal-b00