Homepage

netx.jnlp.services
Class ServiceUtil

    java.lang.Object
    |
    +--netx.jnlp.services.ServiceUtil

public class ServiceUtil
extends java.lang.Object

Provides static methods to interact useful for using the JNLP services.

Version:
$Revision: 1.1 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary
ServiceUtil()
           
 
Method Summary
(package private) static java.lang.Object createPrivilegedProxy(java.lang.Class iface, java.lang.Object receiver)
          Creates a Proxy object implementing the specified interface when makes all calls in the security context of the system classes (ie, AllPermissions).
static javax.jnlp.BasicService getBasicService()
          Returns the BasicService reference, or null if the service is unavailable.
static javax.jnlp.ClipboardService getClipboardService()
          Returns the ClipboardService reference, or null if the service is unavailable.
static javax.jnlp.DownloadService getDownloadService()
          Returns the DownloadService reference, or null if the service is unavailable.
static javax.jnlp.ExtensionInstallerService getExtensionInstallerService()
          Returns the ExtensionInstallerService reference, or null if the service is unavailable.
static javax.jnlp.FileOpenService getFileOpenService()
          Returns the FileOpenService reference, or null if the service is unavailable.
static javax.jnlp.FileSaveService getFileSaveService()
          Returns the FileSaveService reference, or null if the service is unavailable.
static javax.jnlp.PersistenceService getPersistenceService()
          Returns the PersistenceService reference, or null if the service is unavailable.
static javax.jnlp.PrintService getPrintService()
          Returns the PrintService reference, or null if the service is unavailable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceUtil

    public ServiceUtil()
Method Detail

getBasicService

    public static javax.jnlp.BasicService getBasicService()
Returns the BasicService reference, or null if the service is unavailable.


getClipboardService

    public static javax.jnlp.ClipboardService getClipboardService()
Returns the ClipboardService reference, or null if the service is unavailable.


getDownloadService

    public static javax.jnlp.DownloadService getDownloadService()
Returns the DownloadService reference, or null if the service is unavailable.


getExtensionInstallerService

    public static javax.jnlp.ExtensionInstallerService getExtensionInstallerService()
Returns the ExtensionInstallerService reference, or null if the service is unavailable.


getFileOpenService

    public static javax.jnlp.FileOpenService getFileOpenService()
Returns the FileOpenService reference, or null if the service is unavailable.


getFileSaveService

    public static javax.jnlp.FileSaveService getFileSaveService()
Returns the FileSaveService reference, or null if the service is unavailable.


getPersistenceService

    public static javax.jnlp.PersistenceService getPersistenceService()
Returns the PersistenceService reference, or null if the service is unavailable.


getPrintService

    public static javax.jnlp.PrintService getPrintService()
Returns the PrintService reference, or null if the service is unavailable.


createPrivilegedProxy

    static java.lang.Object createPrivilegedProxy(java.lang.Class iface,
    java.lang.Object receiver)
Creates a Proxy object implementing the specified interface when makes all calls in the security context of the system classes (ie, AllPermissions). This means that the services must be more than extremely careful in the operations they perform.


Homepage