Interface ExtendedSingleInstanceService
- All Superinterfaces:
SingleInstanceService
- All Known Implementing Classes:
XSingleInstanceService
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
Modifier and TypeMethodDescriptionvoidcheckSingleInstanceRunning(JNLPFile jnlpFile) Check if the instance identified by this jnlp file is already runningvoidStart a single instance service based on the current applicationMethods inherited from interface SingleInstanceService
addSingleInstanceListener, removeSingleInstanceListener
-
Method Details
-
checkSingleInstanceRunning
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
-