|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A simple Service to allow to ask for closing the
complete session running in. The session context here is ment
as the current running context; e.g. it may stop the whole
application in the case of a simple native client application,
but may only stop a single session in a server-side client
application (web).
Note: SystemInfoService is a core service and will
therefore be available always for all dialogs in the dialog hierarchy.
The Service will be provided at the session node (the root dialog of a session).
| Method Summary | |
void |
abortSession(java.lang.Throwable reason)
Requests to abort the session by an emergency shutdown. |
void |
closeSession()
Requests to close the current session by normally shutting down. |
| Method Detail |
public void closeSession()
abortSession(Throwable) will be called.
Note: No assumption about the work of the method should be made;
it may be the case, that the closing is done instant; in this case
every code after the call to this method is executed after dispoing!
Otherwise it may be, that closing the session delays for some technical
reason.
public void abortSession(java.lang.Throwable reason)
Throwable or any occuring exceptions will be
logged.
Note: No assumption about the work of the method should be made;
it may be the case, that the closing is done instant; in this case
every code after the call to this method is executed after dispoing!
Otherwise it may be, that closing the session delays for some technical
reason.
reason - an (optional) reason for aborting the session. The given
Throwable will be logged while aborting.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||