Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

com.tarantella.tta.webservices
Class ServiceLocatorHolder

java.lang.Object
  extended by com.tarantella.tta.webservices.ServiceLocatorHolder
All Implemented Interfaces:
java.io.Serializable

public class ServiceLocatorHolder
extends java.lang.Object
implements java.io.Serializable

The ServiceLocatorHolder class is a convenient place to store the IServiceLocator interface used to access the Secure Global Desktop web services.

A developer can select a preferred implementation of web services by implementing an IServiceLocator interface and setting it in the ServiceLocatorHolder.

See Also:
Serialized Form

Constructor Summary
ServiceLocatorHolder()
           
 
Method Summary
static IServiceLocator getLocator()
          Returns a service locator.
static void setLocator(IServiceLocator locator)
          Stores the service locator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceLocatorHolder

public ServiceLocatorHolder()
Method Detail

setLocator

public static void setLocator(IServiceLocator locator)
Stores the service locator

Parameters:
locator - IServiceLocator to be stored
Since:
1.0

getLocator

public static IServiceLocator getLocator()
Returns a service locator. If no service locator has been set via setLocator(IServiceLocator), it returns a service locator for the default implementation of web services.

Returns:
An IServiceLocator interface.
Since:
1.0

Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

Copyright © 2012, 2013, Oracle and/or its affiliates. All rights reserved.