|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SingleInstanceService
The SingleInstanceService provides a way to ensure that only one instance of the application is ever running - singleton behavior at the application level.
Method Summary | |
---|---|
void |
addSingleInstanceListener(SingleInstanceListener listener)
Adds the specified SingleInstanceListener to the notification list. |
void |
removeSingleInstanceListener(SingleInstanceListener listener)
Removes the specified SingleInstanceListener from the notification list. |
Method Detail |
---|
void addSingleInstanceListener(SingleInstanceListener listener)
listener
- the single instance listener to be added. No action is
performed if it is null.void removeSingleInstanceListener(SingleInstanceListener listener)
listener
- the single instance listener to be removed. No action is
performed if it is null or not in the notification list.
|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |