Class TestJnlp

java.lang.Object
eu.bandm.tools.installer.TestJnlp

public class TestJnlp extends Object
Test whether we code is executing in a context defined by "java web start". This class does NOT load any classes when being loaded, so that it can be referred to from user code without "ClassNotFound" crash. It tests one single class the name of which is name_webstart_representative, so whenever this returns true it is LIKELY that also the services of the java webstart API may be called without "ClassNotFound" exception, and e.g. JnlpAdapter can be safely loaded.
  • Field Details

  • Constructor Details

    • TestJnlp

      public TestJnlp()
  • Method Details

    • isUnderWebstartContext

      public static boolean isUnderWebstartContext()