Name

ManagementPermission

Synopsis

This java.security.Permission subclass governs access to the Java VM monitoring and management capabilities of this package. The two defined targets for this permission are control, which grants permission to manage the VM, and monitor, which grants permission to monitor VM state. Fine-grained control over individual MXBeans is not supported.

java.lang.management.ManagementPermission

Figure 10-86. java.lang.management.ManagementPermission

public final class ManagementPermission extends java.security.BasicPermission {
// Public Constructors
     public ManagementPermission(String name);  
     public ManagementPermission(String name, String actions) throws IllegalArgumentException;  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.