javax.realtime
Class RealtimeSecurity
java.lang.Object
|
+--javax.realtime.RealtimeSecurity
- public class RealtimeSecurity
- extends java.lang.Object
Security policy object for real-time specific issues. Primarily used to control
access to physical memory.
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 |
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 |
RealtimeSecurity
public RealtimeSecurity()
checkAccessPhysical
public void checkAccessPhysical()
throws java.lang.SecurityException
- Check whether the application is allowed to access physical memory.
- Throws:
- java.lang.SecurityException - the application doesn't have permission.
checkAccessPhysicalRange
public void checkAccessPhysicalRange(long base,
long size)
throws java.lang.SecurityException
- Check whether the application is allowed to access physical memory
within the specified range.
- Throws:
- java.lang.SecurityException - the application doesn't have permission.
checkSetFilter
public void checkSetFilter()
throws java.lang.SecurityException
- Check whether the application is allowed to set filter objects.
- Throws:
- java.lang.SecurityException - the application doesn't have permission.
checkSetScheduler
public void checkSetScheduler()
throws java.lang.SecurityException
- Check whether the application is allowed to set the scheduler.
- Throws:
- java.lang.SecurityException - the application doesn't have permission.