2.17.2: 2011-06-17

net.sf.basedb.ws.client
Class Factories

java.lang.Object
  extended by net.sf.basedb.ws.client.Factories

public class Factories
extends Object

Utility class for keeping the default factory implementations.

Version:
2.8
Author:
nicklas
Last modified
$Date: 2008-09-11 22:06:36 +0200 (Thu, 11 Sep 2008) $

Field Summary
private static ServiceFactory serviceFactory
           
 
Constructor Summary
Factories()
           
 
Method Summary
static ServiceFactory getDefaultServiceFactory()
          Get the default service factory that is used when creating SessionClient objects when no factory has been specified in the constructor.
static void setDefaultServiceFactory(ServiceFactory factory)
          Set the default service factory that is used when creating SessionClient objects when no factory has been specified in the constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceFactory

private static ServiceFactory serviceFactory
Constructor Detail

Factories

public Factories()
Method Detail

getDefaultServiceFactory

public static final ServiceFactory getDefaultServiceFactory()
Get the default service factory that is used when creating SessionClient objects when no factory has been specified in the constructor. The default factory is a ConfigurableServiceFactory with all options having default values. The default service factory can be changed by setDefaultServiceFactory(ServiceFactory)


setDefaultServiceFactory

public static final void setDefaultServiceFactory(ServiceFactory factory)
Set the default service factory that is used when creating SessionClient objects when no factory has been specified in the constructor.


2.17.2: 2011-06-17