net.sf.basedb.ws.client
Class Factories
java.lang.Object
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) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceFactory
private static ServiceFactory serviceFactory
Factories
public Factories()
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.