|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemSuperInterface
System Interface used by internal systems.
Version History
EPG - Initial - 8 OCT 03 EPG - Add user global properties - 19 JUL 07
Field Summary |
---|
Fields inherited from interface things.thinger.SystemInterface |
---|
DEFAULT_REPORTING_THRESHOLD |
Method Summary | |
---|---|
void |
deathNotice(ThingsException te)
Typically, this is how a process will tell the kernel it is dying, so that the kernel can clear resources. |
void |
flingException(ThingsException te)
Typically, this is a last ditch way for a process or module to pass info to the kernel when something very bad is happening. |
ThingsPropertyView |
getConfigPropertiesWritable()
Get the configuration properties that are writable. |
ThingsPropertyView |
getGlobalProperties()
Get system global property view. |
ThingsPropertyView |
getLocalProperties(java.lang.String id)
Get local property view for the given id. |
ConduitController |
getSystemConduits()
Get the system conduit controller. |
ThingsPropertyView |
getUserGlobalProperties()
Get user global property view. |
void |
registerProcess(PCB processPCB,
Clearance processClearance)
Register a ready-made PCB. |
void |
requestQuit()
Ask the server to quit. |
WhoAmI |
startProcess(ThingsProcess processObject,
ThingsPropertyView properties)
Start the passed process. |
WhoAmI |
startProcess(ThingsProcess processObject,
ThingsPropertyView properties,
Clearance processClearance)
Start the passed process. |
Methods inherited from interface things.thinger.SystemInterface |
---|
getCallingProcessId, getConfigProperties, getLocalProperties, getLocalPropertiesImplementation, getLogLocal, getNamedExpressor, getNamedLogger, getProcessInterface, getProcessList, getProcessState, getSharedProperties, getSystemLogger, getUniverse, loadModule, loadThing, requestSuperSystemInterface, runThing, runThing, runThing, waitProcessDone |
Method Detail |
---|
ThingsPropertyView getGlobalProperties() throws SystemException
SystemException
ThingsPropertyView getUserGlobalProperties() throws SystemException
SystemException
ThingsPropertyView getConfigPropertiesWritable() throws SystemException
SystemException
ThingsPropertyView getLocalProperties(java.lang.String id) throws SystemException
id
- String id of the process.
SystemException
void flingException(ThingsException te)
te
- a Things exception
SystemException
WhoAmI
void deathNotice(ThingsException te)
te
- a Things exception that indicates the reason for the death. It may be null if it was normal termination.
SystemException
WhoAmI
void requestQuit()
WhoAmI startProcess(ThingsProcess processObject, ThingsPropertyView properties, Clearance processClearance) throws java.lang.Throwable
processObject
- This will be a ThingsProcess or subclass.properties
- These are properties to add (or supplant) to the processes specific view before starting the process. It is ok
to pass null if there are none.processClearance
- specify the process clearance level. This must be at or lower than the calling process's clearance.
java.lang.Throwable
WhoAmI
WhoAmI startProcess(ThingsProcess processObject, ThingsPropertyView properties) throws java.lang.Throwable
processObject
- This will be a ThingsProcess or subclass.properties
- These are properties to add (or supplant) to the processes specific view before starting the process. It is ok
to pass null if there are none.
java.lang.Throwable
WhoAmI
void registerProcess(PCB processPCB, Clearance processClearance) throws ThingsException
processPCB
- This will be a ready-made PCB.processClearance
- The clearance level. This will be immutable.
ThingsException
ConduitController getSystemConduits() throws SystemException
SystemException
ConduitController
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |