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 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