com.sun.cc.platform.user
Class UserServiceClientFactory

java.lang.Object
  extended bycom.sun.cc.platform.user.UserServiceClientFactory

public final class UserServiceClientFactory
extends Object

This class represents the Client factory. It is a Singleton and it instantiated using the getInstance method.


Method Summary
 UserServiceClient getClient(String endpoint)
          Creates a UserServiceClient for the given endpoint.
 UserServiceClient getClient(String endpoint, PrintStream out)
          Creates a UserServiceClient for the given endpoint.
 UserServiceClient getClient(String endpoint, PrintStream out, boolean verifyEndpoint)
          Creates a UserServiceClient for the given endpoint.
static UserServiceClientFactory getInstance()
          Used to instantiate a single instance of this factory.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static UserServiceClientFactory getInstance()
Used to instantiate a single instance of this factory.


getClient

public UserServiceClient getClient(String endpoint)
Creates a UserServiceClient for the given endpoint.

Parameters:
endpoint - the URL of the UserInformationService
Returns:
an implementation of the UserServiceClient interface

getClient

public UserServiceClient getClient(String endpoint,
                                   PrintStream out)
Creates a UserServiceClient for the given endpoint.

Parameters:
endpoint - the URL of the UserInformationService
out - a PrintStream to output the constructed XML to
Returns:
an implementation of the UserServiceClient interface

getClient

public UserServiceClient getClient(String endpoint,
                                   PrintStream out,
                                   boolean verifyEndpoint)
Creates a UserServiceClient for the given endpoint.

Parameters:
endpoint - the URL of the UserInformationService
out - a PrintStream to output the constructed XML to
Returns:
an implementation of the UserServiceClient interface