Class XSingleInstanceService

  • All Implemented Interfaces:
    SingleInstanceService

    public class XSingleInstanceService
    extends java.lang.Object
    This class implements SingleInstanceService
    • Constructor Detail

      • XSingleInstanceService

        protected XSingleInstanceService()
        Create a new XSingleInstanceService
    • Method Detail

      • initializeSingleInstance

        public void initializeSingleInstance()
        Initialize the new SingleInstanceService
        Throws:
        InstanceExistsException - if the instance already exists
      • checkSingleInstanceRunning

        public void checkSingleInstanceRunning​(JNLPFile jnlpFile)
        Check if another instance of this application is already running
        Parameters:
        jnlpFile - The JNLPFile that specifies the application
        Throws:
        InstanceExistsException - if an instance of this application already exists