public final class ManagementPermission
extends java.security.BasicPermission
A SecurityPermission
for use with the management system.
Constructor and Description |
---|
ManagementPermission(java.lang.String name)
Constructs an instance with the given name.
|
ManagementPermission(java.lang.String name,
java.lang.String actions)
Constructs an instance with the given name.
|
public ManagementPermission(java.lang.String name)
Constructs an instance with the given name.
name
- The permission name, which must have the value "monitor"
or "control"
.java.lang.IllegalArgumentException
- if name
is invalid.public ManagementPermission(java.lang.String name, java.lang.String actions)
Constructs an instance with the given name.
name
- The permission name, which must be "monitor"
or "control"
.actions
- This is not used, so it must be null
or
empty.java.lang.IllegalArgumentException
- if name
is invalid. Submit a bug or feature request
Copyright © 2015-2017, Azul Systems, Inc. All rights reserved.
Azul Systems and Zing are registered trademarks of Azul Systems, Inc.