Package net.sourceforge.jnlp.services
Interface ExtendedSingleInstanceService
-
- All Superinterfaces:
SingleInstanceService
- All Known Implementing Classes:
XSingleInstanceService
interface ExtendedSingleInstanceService extends SingleInstanceService
Extends SingleInstanceService to provide a few additional methods that are required to initialize SingleInstanceService and check things. These methods are not exposed publicly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckSingleInstanceRunning(JNLPFile jnlpFile)Check if the instance identified by this jnlp file is already runningvoidinitializeSingleInstance()Start a single instance service based on the current application-
Methods inherited from interface javax.jnlp.SingleInstanceService
addSingleInstanceListener, removeSingleInstanceListener
-
-
-
-
Method Detail
-
checkSingleInstanceRunning
void checkSingleInstanceRunning(JNLPFile jnlpFile)
Check if the instance identified by this jnlp file is already running- Parameters:
jnlpFile- The JNLPFile that specifies the application- Throws:
InstanceExistsException- if an instance of this application already exists
-
initializeSingleInstance
void initializeSingleInstance()
Start a single instance service based on the current application
-
-