public abstract class RealtimePermission
extends java.security.Permission
Risk Class | Description |
---|---|
CPU Assignment Risk | Interferes with critical tasks by assigning too many other tasks to the same CPU. |
Encapsulation Risk | Could break out of encapsulation. |
External Risk | Could adversely effect other processes on the system. |
Interference Risk | Could interfere with the function of other parts of the system. |
Load Risk | Could increase the load on the system. |
Lost Events Risk | Another task could no longer receive the expected events. |
Memory Leak Risk | Could cause memory to be lost to the system. |
Scheduling Risk | Interferes with the timeliness of other parts of the system. |
Device Range Risk | Could specify memory outside the desired Device range. |
Device Map Risk | Could map too much or too little Device memory. |
DMA Range Risk | Could specify memory outside the desired DMA range. |
DMA Map Risk | Could map too much or too little DMA memory for DMA. |
Physical Range Risk | Could specify memory outside the desired Physical range. |
Pysical Map Risk | Could take too much memory. |
Modifier | Constructor and Description |
---|---|
protected |
RealtimePermission(java.lang.String actions)
Creates a new
RealtimePermission object for a given action,
i.e., the symbolic name of an action. |
protected |
RealtimePermission(java.lang.String target,
java.lang.String actions)
Creates a new
RealtimePermission object for a given action,
i.e., the symbolic name of an action. |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(java.lang.Object other)
Compare two Permission objects for equality.
|
abstract java.lang.String |
getActions()
Obtain the actions as a String in canonical form.
|
abstract int |
hashCode()
Obtain the hash code value for this object.
|
abstract boolean |
implies(java.security.Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
protected RealtimePermission(java.lang.String actions)
RealtimePermission
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 actions
is null
.StaticIllegalArgumentException
- when actions
is empty.java.lang.UnsupportedOperationException
- when called on non-supported subclass.protected RealtimePermission(java.lang.String target, java.lang.String actions)
RealtimePermission
object for a given action,
i.e., the symbolic name of an action. The target
string
specifies additional limitations on the action.target
- Specifies the domain for the action, or *
for no limit on the permission.actions
- The names of the actions to allow, or *
for all actions.java.lang.NullPointerException
- when actions
is null
.StaticIllegalArgumentException
- when target
or actions
is empty.public abstract boolean equals(java.lang.Object other)
equals
in class java.security.Permission
other
- is the object with which to compare.true
when yes and false
otherwise.public abstract java.lang.String getActions()
getActions
in class java.security.Permission
public abstract int hashCode()
hashCode
in class java.security.Permission
public abstract boolean implies(java.security.Permission permission)
implies
in class java.security.Permission
permission
- is the permission to check.true
when yes and false
otherwise.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.