|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jnlp.services.XSingleInstanceService
public class XSingleInstanceService
This class implements SingleInstanceService
| Constructor Summary | |
|---|---|
protected |
XSingleInstanceService()
Create a new XSingleInstanceService |
| Method Summary | |
|---|---|
void |
addSingleInstanceListener(SingleInstanceListener sil)
Add the specified SingleInstanceListener |
void |
checkSingleInstanceRunning(JNLPFile jnlpFile)
Check if another instance of this application is already running |
void |
initializeSingleInstance()
Initialize the new SingleInstanceService |
void |
removeSingleInstanceListener(SingleInstanceListener sil)
Remove the specified SingleInstanceListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected XSingleInstanceService()
| Method Detail |
|---|
public void initializeSingleInstance()
javax.management.InstanceAlreadyExistsException - if the instance already existspublic void checkSingleInstanceRunning(JNLPFile jnlpFile)
jnlpFile - The JNLPFile that specifies the application
InstanceExistsException - if an instance of this application
already existspublic void addSingleInstanceListener(SingleInstanceListener sil)
sil - the single instance listener to be added. No action is
performed if it is null.
InstanceExistsException, - which is likely to terminate the
application but not guaranteed topublic void removeSingleInstanceListener(SingleInstanceListener sil)
sil - the single instance listener to be removed. No action is
performed if it is null or not in the notification list.
InstanceExistsException - if an instance of this single instance
application already exists
|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||