Module java.jnlp
Package javax.jnlp
The JNLP API is designed to provide additional services to JNLP applications
running in the Java Plugin or launched by Java Web Start.
Use the ServiceManager
to determine which services are
available and to gain access to those services.
- Since:
- 1.4.2
- See Also:
ServiceManager
-
Interface Summary Interface Description BasicService TheBasicService
interface provides access to the codebase of the application, if an application is run in offline mode, and simple interaction with the native browser on the given platform.ClipboardService ClipboardService
provides methods for accessing the shared system-wide clipboard, even for applications that are running in the untrusted execution environment.DownloadService DownloadService
service allows an application to control how its own resources are cached, to determine which of its resources are currently cached, to force resources to be cached, and to remove resources from the cache.DownloadService2 Provides cache query services to JNLP applications.DownloadServiceListener TheDownloadServiceListener
provides an interface for a callback object implementation, which may be used by a DownloadService implementation.ExtendedService ExtendedService
provides additional support to the current JNLP API, to allow applications to open a specific file or files in the client's file system.ExtensionInstallerService TheExtensionInstallerService
is used by an extension installer to communicate with the JNLP Client.FileContents FileContents
objects encapsulate the name and contents of a file.FileOpenService FileOpenService
service allows the user to choose a file from the local file system, even for applications that are running in the untrusted execution environment.FileSaveService FileSaveService
service allows the user to save a file to the local file system, even for applications that are running in the untrusted execution environment.IntegrationService Provides desktop integration for JNLP applications.JNLPRandomAccessFile Instances of this class support both reading and writing to a random access file.PersistenceService PersistenceService
provides methods for storing data locally on the client system, even for applications that are running in the untrusted execution environment.PrintService PrintService
provides methods for access to printing functions, even for applications that are running in the untrusted execution environment.ServiceManagerStub AServiceManagerStub
object implements the particular lookup of JNLP services by the JNLP Client.SingleInstanceListener SingleInstanceListener
is a interface which should be implemented by a JNLP application if they wish to support single instance behaviour.SingleInstanceService SingleInstanceService
allow applications launched under Java Web Start to register themselves as singletons, and to be passed in new parameter sets when user attempts to launch new instances of them. -
Class Summary Class Description DownloadService2.ResourceSpec Specifies patterns for resource queries as arguments and holds results inDownloadService2.getCachedResources(javax.jnlp.DownloadService2.ResourceSpec)
andDownloadService2.getUpdateAvailableResources(javax.jnlp.DownloadService2.ResourceSpec)
.ServiceManager TheServiceManager
provides static methods to lookup JNLP services. -
Exception Summary Exception Description UnavailableServiceException TheUnavailableServiceException
is thrown by theServiceManager
when a non-existing or unavailable service is looked up.