public class ConstraintPermission extends RealtimePermission
ProcessingConstraint,
ThreadConstraint,
MemoryConstraint,
BackingStoreConstraint.
| Action Name | Description | Risks of grant |
|---|---|---|
| control | Enables controlling the activity of constraint. | Scheduling Risk |
| create | Enables new contraint instances to be created. | Scheduling Risk |
| system | Changes system wide Constraint behavior. | Load and Scheduling Risk |
RealtimePermission.| Constructor and Description |
|---|
ConstraintPermission(java.lang.String actions)
Creates a new
ConstraintPermission object for a given action,
i.e., the symbolic name of an action. |
ConstraintPermission(java.lang.String name,
java.lang.String actions)
Creates a new
ConstraintPermission object for a given action,
i.e., the symbolic name of an action. |
ConstraintPermission(java.lang.ThreadGroup group,
java.lang.String actions)
Creates a new
ConstraintPermission object for a given action,
i.e., the symbolic name of an action. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Compare two Permission objects for equality.
|
boolean |
implies(java.security.Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
getActions, hashCode, setHashCodepublic ConstraintPermission(java.lang.String name,
java.lang.String actions)
ConstraintPermission object for a given action,
i.e., the symbolic name of an action. The name string
specifies additional limitations on the action.name - Specifies the domain for the action, or *
or null for no limit on the permission.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when action is null.StaticIllegalArgumentException - when target or action is empty.public ConstraintPermission(java.lang.ThreadGroup group,
java.lang.String actions)
ConstraintPermission object for a given action,
i.e., the symbolic name of an action. The group parameter
specifies the thread group that will be compared to the current
thread group when implies is called.group - Specifies the thread group that will be compared
to the current thread group when
implies is called.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when action is null.StaticIllegalArgumentException - when group is null or action is empty.public ConstraintPermission(java.lang.String actions)
ConstraintPermission object for a given action,
i.e., the symbolic name of an action.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when action is null.StaticIllegalArgumentException - when action is empty.public boolean equals(java.lang.Object other)
RealtimePermissionequals in class RealtimePermissionother - is the object with which to compare.true when yes and false otherwise.public boolean implies(java.security.Permission permission)
RealtimePermissionimplies in class RealtimePermissionpermission - is the permission to check.true when yes and false otherwise.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.