Package | Description |
---|---|
net.sourceforge.jnlp |
This package contains the classes that represent the parts of a
Java Network Launching Protocol (JNLP) file as objects, and a way
to launch a JNLP file as an application, applet, or installer.
|
net.sourceforge.jnlp.runtime |
This package contains the classes that manage the secure runtime
environment for JNLP apps.
|
net.sourceforge.jnlp.security | |
net.sourceforge.jnlp.services |
This package contains the classes that implement the standard
services defined by the JNLP specification.
|
net.sourceforge.jnlp.tools | |
net.sourceforge.jnlp.util |
Modifier and Type | Class and Description |
---|---|
class |
PluginBridge
Allows reuse of code that expects a JNLPFile object,
while overriding behaviour specific to applets.
|
Modifier and Type | Method and Description |
---|---|
JNLPFile |
JNLPCreator.create(java.net.URL location,
Version version,
boolean strict,
UpdatePolicy policy,
java.net.URL forceCodebase) |
JNLPFile |
LaunchException.getFile()
Returns the JNLPFile being launched.
|
JNLPFile |
ResourcesDesc.getJNLPFile()
Returns the JNLPFile the resources are for.
|
JNLPFile |
InformationDesc.getJNLPFile()
Returns the JNLPFile the information is for.
|
JNLPFile |
ExtensionDesc.getJNLPFile()
Returns a JNLPFile for the extension, or null if the JNLP
file has not been resolved.
|
Modifier and Type | Method and Description |
---|---|
protected AppletInstance |
Launcher.createApplet(JNLPFile file,
boolean enableCodeBase,
java.awt.Container cont)
Create an AppletInstance.
|
protected java.applet.Applet |
Launcher.createAppletObject(JNLPFile file,
boolean enableCodeBase,
java.awt.Container cont)
Creates an Applet object from a JNLPFile.
|
protected ApplicationInstance |
Launcher.createApplication(JNLPFile file)
Creates an Application.
|
protected java.lang.ThreadGroup |
Launcher.createThreadGroup(JNLPFile file)
Create a thread group for the JNLP file.
|
protected ApplicationInstance |
Launcher.getApplet(JNLPFile file,
boolean enableCodeBase,
java.awt.Container cont)
Gets an ApplicationInstance, but does not launch the applet.
|
ApplicationInstance |
Launcher.launch(JNLPFile file)
Launches a JNLP file by calling the launch method for the
appropriate file type.
|
ApplicationInstance |
Launcher.launch(JNLPFile file,
java.awt.Container cont)
Launches a JNLP file inside the given container if it is an applet.
|
protected ApplicationInstance |
Launcher.launchApplet(JNLPFile file,
boolean enableCodeBase,
java.awt.Container cont)
Launches a JNLP applet.
|
protected ApplicationInstance |
Launcher.launchApplication(JNLPFile file)
Launches a JNLP application.
|
void |
Launcher.launchExternal(java.util.List<java.lang.String> vmArgs,
JNLPFile file,
java.util.List<java.lang.String> javawsArgs)
Launches the JNLP file in a new JVM instance.
|
void |
DefaultLaunchHandler.launchInitialized(JNLPFile file)
Do nothing on when initializing
|
void |
LaunchHandler.launchInitialized(JNLPFile file)
Called when an application, applet or installer has been determined.
|
void |
GuiLaunchHandler.launchInitialized(JNLPFile file) |
protected ApplicationInstance |
Launcher.launchInstaller(JNLPFile file)
Launches a JNLP installer.
|
Constructor and Description |
---|
InformationDesc(JNLPFile jnlpFile,
java.util.Locale[] locales)
Create an information element object.
|
JNLPSplashScreen(ResourceTracker resourceTracker,
JNLPFile file) |
LaunchException(JNLPFile file,
java.lang.Exception cause,
java.lang.String severity,
java.lang.String category,
java.lang.String summary,
java.lang.String description)
Creates a LaunchException without detail message.
|
ResourcesDesc(JNLPFile jnlpFile,
java.util.Locale[] locales,
java.lang.String[] os,
java.lang.String[] arch)
Create a representation of one information section of the
JNLP File.
|
SecurityDesc(JNLPFile file,
java.lang.Object type,
java.lang.String downloadHost)
Create a security descriptor.
|
Modifier and Type | Method and Description |
---|---|
JNLPFile |
ApplicationInstance.getJNLPFile()
Returns the JNLP file for this task.
|
JNLPFile |
JNLPClassLoader.getJNLPFile()
Returns the JNLP file the classloader was created from.
|
Modifier and Type | Method and Description |
---|---|
static JNLPClassLoader |
JNLPClassLoader.getInstance(JNLPFile file,
UpdatePolicy policy)
Returns a JNLP classloader for the specified JNLP file.
|
static JNLPClassLoader |
JNLPClassLoader.getInstance(JNLPFile file,
UpdatePolicy policy,
java.lang.String mainName)
Returns a JNLP classloader for the specified JNLP file.
|
Constructor and Description |
---|
AppletEnvironment(JNLPFile file,
AppletInstance appletInstance)
Create a new applet environment for the applet specified by
the JNLP file, in a new frame.
|
AppletEnvironment(JNLPFile file,
AppletInstance appletInstance,
java.awt.Container cont)
Create a new applet environment for the applet specified by
the JNLP file.
|
AppletInstance(JNLPFile file,
java.lang.ThreadGroup group,
java.lang.ClassLoader loader,
java.applet.Applet applet)
Create a New Task based on the Specified URL
|
AppletInstance(JNLPFile file,
java.lang.ThreadGroup group,
java.lang.ClassLoader loader,
java.applet.Applet applet,
java.awt.Container cont) |
ApplicationInstance(JNLPFile file,
java.lang.ThreadGroup group,
java.lang.ClassLoader loader)
Create an application instance for the file.
|
JNLPClassLoader(JNLPFile file,
UpdatePolicy policy)
Create a new JNLPClassLoader from the specified file.
|
JNLPClassLoader(JNLPFile file,
UpdatePolicy policy,
java.lang.String mainName)
Create a new JNLPClassLoader from the specified file.
|
Modifier and Type | Method and Description |
---|---|
JNLPFile |
SecurityDialog.getFile() |
Modifier and Type | Method and Description |
---|---|
void |
JNLPAppVerifier.checkTrustWithUser(JarCertVerifier jcv,
JNLPFile file) |
void |
AppVerifier.checkTrustWithUser(JarCertVerifier jcv,
JNLPFile file)
Prompt the user with requests for trusting the certificates used by this app
|
void |
PluginAppVerifier.checkTrustWithUser(JarCertVerifier jcv,
JNLPFile file) |
static boolean |
SecurityDialogs.showAccessWarningDialog(SecurityDialogs.AccessType accessType,
JNLPFile file)
Shows a warning dialog for different types of system access (i.e.
|
static boolean |
SecurityDialogs.showAccessWarningDialog(SecurityDialogs.AccessType accessType,
JNLPFile file,
java.lang.Object[] extras)
Shows a warning dialog for different types of system access (i.e.
|
static boolean |
SecurityDialogs.showCertWarningDialog(SecurityDialogs.AccessType accessType,
JNLPFile file,
CertVerifier certVerifier)
Shows a security warning dialog according to the specified type of
access.
|
static boolean |
SecurityDialogs.showNotAllSignedWarningDialog(JNLPFile file)
Shows a warning dialog for when the main application jars are signed,
but extensions aren't
|
static UnsignedAppletTrustWarningPanel.UnsignedWarningAction |
SecurityDialogs.showUnsignedWarningDialog(JNLPFile file)
Shows a warning dialog for when a plugin applet is unsigned.
|
Modifier and Type | Method and Description |
---|---|
static void |
ServiceUtil.checkExistingSingleInstance(JNLPFile jnlpFile)
Checks that this application (represented by the jnlp) isnt already running
|
void |
XSingleInstanceService.checkSingleInstanceRunning(JNLPFile jnlpFile)
Check if another instance of this application is already running
|
Modifier and Type | Method and Description |
---|---|
void |
JarCertVerifier.checkTrustWithUser(JNLPFile file) |
Constructor and Description |
---|
XDesktopEntry(JNLPFile file)
Create a XDesktopEntry for the given JNLP file
|