Class ItwJvmLauncher

  • All Implemented Interfaces:
    JvmLauncher

    public class ItwJvmLauncher
    extends java.lang.Object
    implements JvmLauncher
    Implementation of JvmLauncher which uses the IcedTea-Web launcher to start a new JVM.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logger LOG  
    • Constructor Summary

      Constructors 
      Constructor Description
      ItwJvmLauncher()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void launchExternal​(java.util.List<java.lang.String> vmArgs, java.util.List<java.lang.String> javawsArgs)  
      void launchExternal​(JNLPFile jnlpFile, java.util.List<java.lang.String> args)
      Launches the web start application environment with the given JNLP file and arguments.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final Logger LOG
    • Constructor Detail

      • ItwJvmLauncher

        public ItwJvmLauncher()
    • Method Detail

      • launchExternal

        public void launchExternal​(JNLPFile jnlpFile,
                                   java.util.List<java.lang.String> args)
                            throws java.lang.Exception
        Description copied from interface: JvmLauncher
        Launches the web start application environment with the given JNLP file and arguments.
        Specified by:
        launchExternal in interface JvmLauncher
        Parameters:
        jnlpFile - the JNLP file to launch in the new JVM.
        args - arguments to pass to the new JVM
        Throws:
        java.lang.Exception - if there was an exception
      • launchExternal

        private void launchExternal​(java.util.List<java.lang.String> vmArgs,
                                    java.util.List<java.lang.String> javawsArgs)
                             throws java.lang.Exception
        Parameters:
        vmArgs - the arguments to pass to the jvm
        javawsArgs - the arguments to pass to javaws (aka IcedTea-Web)
        Throws:
        java.lang.Exception