Package eu.bandm.tools.installer
Class TestJnlp
java.lang.Object
eu.bandm.tools.installer.TestJnlp
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name_webstart_representative
- See Also:
-
-
Constructor Details
-
TestJnlp
public TestJnlp()
-
-
Method Details
-
isUnderWebstartContext
public static boolean isUnderWebstartContext()
-