javax.management
public class MBeanTrustPermission extends BasicPermission
"register" and "*", the latter
representing both the existing "register" target
and any future targets.
Since: 1.5
| Constructor Summary | |
|---|---|
| MBeanTrustPermission(String target)
Constructs a {@link MBeanTrustPermission} with the given target.
| |
| MBeanTrustPermission(String target, String actions)
Constructs a {@link MBeanTrustPermission} with the given target
and actions. | |
"register" or "*".
The actions of the permission default to null,
so this is equivalent to calling
MBeanTrustPermission(target, null).
Parameters: target the target of this permission.
Throws: NullPointerException if target is null. IllegalArgumentException if the target is other than
"register" or "*".
See Also: MBeanTrustPermission
"register"
or "*". The actions must be either null
or the empty string, "".
Parameters: target the target of this permission. actions the actions for this permission.
Throws: NullPointerException if target is null. IllegalArgumentException if the target is other than
"register" or "*"
or actions is other than
null or "".