org.terracotta.express
Class ClientFactoryExtras
java.lang.Object
org.terracotta.express.ClientFactoryExtras
public final class ClientFactoryExtras
- extends Object
Static factory having extra methods for creating Terracotta client instances
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createDedicatedClient
public static Client createDedicatedClient(String tcConfig,
boolean isUrl,
Class[] moduleIntrospectionSources)
- Create a dedicated client instance using the given configuration.
The code sources for the supplied classes, are inspected for the presence of any integration modules that should be
loaded in to the client.
- Parameters:
tcConfig - terracotta configurationisUrl - true if the configuration is a server URL.moduleIntrospectionSources - classes to inspect for embedded modules
- Returns:
- a new client instance
createDedicatedRejoinClient
public static Client createDedicatedRejoinClient(String tcConfig,
boolean isUrl,
Class[] moduleIntrospectionSources)
Copyright © 2015 Terracotta, Inc.. All Rights Reserved.