|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.realtime.RealtimeSecurity
Security policy object for real-time specific issues. Primarily used to control access to physical memory.
Field Summary | |
private static boolean |
accessPhysical
|
private static boolean |
setFactory
|
private static boolean |
setFilter
|
private static boolean |
setScheduler
|
Constructor Summary | |
RealtimeSecurity()
Create a RealtimeSecurity object. |
Method Summary | |
void |
checkAccessPhysical()
Check whether the application is allowed to access physical memory. |
void |
checkAccessPhysicalRange(long base,
long size)
Check whether the application is allowed to access physical memory within the specified range. |
void |
checkSetFactory()
Check whether the application is allowed to set factory objects. |
void |
checkSetFilter()
Check whether the application is allowed to set filter objects. |
void |
checkSetScheduler()
Check whether the application is allowed to set the scheduler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static boolean accessPhysical
private static boolean setFactory
private static boolean setScheduler
private static boolean setFilter
Constructor Detail |
public RealtimeSecurity()
RealtimeSecurity
object.
Method Detail |
public void checkAccessPhysical() throws java.lang.SecurityException
java.lang.SecurityException
- The application doesn't have
permission to access physical memory.public void checkAccessPhysicalRange(long base, long size) throws java.lang.SecurityException
base
- The beginning of the address range.size
- The size of the address range.
java.lang.SecurityException
- The application doesn't have permission
to acess the memory in the given range.public void checkSetFilter() throws java.lang.SecurityException
java.lang.SecurityException
- The application doesn't have
permission to set filter objects.public void checkSetScheduler() throws java.lang.SecurityException
java.lang.SecurityException
- The application doesn't have
permission to set the scheduler.public void checkSetFactory() throws java.lang.SecurityException
java.lang.SecurityException
- The application doesn't have
permission to set the factory.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |