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 TheBasicServiceinterface 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 ClipboardServiceprovides methods for accessing the shared system-wide clipboard, even for applications that are running in the untrusted execution environment.DownloadService DownloadServiceservice 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 TheDownloadServiceListenerprovides an interface for a callback object implementation, which may be used by a DownloadService implementation.ExtendedService ExtendedServiceprovides additional support to the current JNLP API, to allow applications to open a specific file or files in the client's file system.ExtensionInstallerService TheExtensionInstallerServiceis used by an extension installer to communicate with the JNLP Client.FileContents FileContentsobjects encapsulate the name and contents of a file.FileOpenService FileOpenServiceservice allows the user to choose a file from the local file system, even for applications that are running in the untrusted execution environment.FileSaveService FileSaveServiceservice 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 PersistenceServiceprovides methods for storing data locally on the client system, even for applications that are running in the untrusted execution environment.PrintService PrintServiceprovides methods for access to printing functions, even for applications that are running in the untrusted execution environment.ServiceManagerStub AServiceManagerStubobject implements the particular lookup of JNLP services by the JNLP Client.SingleInstanceListener SingleInstanceListeneris a interface which should be implemented by a JNLP application if they wish to support single instance behaviour.SingleInstanceService SingleInstanceServiceallow 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 TheServiceManagerprovides static methods to lookup JNLP services. -
Exception Summary Exception Description UnavailableServiceException TheUnavailableServiceExceptionis thrown by theServiceManagerwhen a non-existing or unavailable service is looked up.