Package com.attivio.sdk.service
Class ServiceFactoryFactory
- java.lang.Object
-
- com.attivio.sdk.service.ServiceFactoryFactory
-
public class ServiceFactoryFactory extends java.lang.ObjectFactory class for creating an instance of theServiceFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceFactoryFactory.ServiceFactoryError
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTIVIO_INTERNAL_TEST_CLASS_RESOURCEstatic java.lang.StringATTIVIO_TEST_FILE_RESOURCE
-
Constructor Summary
Constructors Constructor Description ServiceFactoryFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceFactoryget()Get an instance of the {@link #com.attivio.sdk.service.ServiceFactory}static ServiceFactoryget(java.lang.Object serviceFactoryParams)Get an instance of the {@link #com.attivio.sdk.service.ServiceFactory}static ServiceFactorygetRemote(java.lang.String projectName, java.lang.String projectEnvironment, java.lang.String zookeeperConnectionInfo)Get an instance of the {@link #com.attivio.sdk.service.ServiceFactory}static ServiceFactorygetRemote(java.lang.String projectName, java.lang.String projectEnvironment, java.lang.String zookeeperConnectionInfo, java.lang.Object serviceFactoryParams)Similar togetRemote(String, String, String), but allows for specification of arbitrary service factory parameters.protected static voidinit()
-
-
-
Field Detail
-
ATTIVIO_TEST_FILE_RESOURCE
public static final java.lang.String ATTIVIO_TEST_FILE_RESOURCE
- See Also:
- Constant Field Values
-
ATTIVIO_INTERNAL_TEST_CLASS_RESOURCE
public static final java.lang.String ATTIVIO_INTERNAL_TEST_CLASS_RESOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
protected static void init()
-
get
public static ServiceFactory get()
Get an instance of the {@link #com.attivio.sdk.service.ServiceFactory}- Returns:
- serviceFactory
-
get
public static ServiceFactory get(java.lang.Object serviceFactoryParams)
Get an instance of the {@link #com.attivio.sdk.service.ServiceFactory}- Returns:
- serviceFactory
-
getRemote
public static ServiceFactory getRemote(java.lang.String projectName, java.lang.String projectEnvironment, java.lang.String zookeeperConnectionInfo, java.lang.Object serviceFactoryParams)
Similar togetRemote(String, String, String), but allows for specification of arbitrary service factory parameters.- Parameters:
projectName-projectEnvironment-zookeeperConnectionInfo-serviceFactoryParams- The factory parameters for the typeparams.getClass()and all interfaces provided by the type for this client process. There can be only one set of parameters per type.- Returns:
- ServiceFactory object
-
getRemote
public static ServiceFactory getRemote(java.lang.String projectName, java.lang.String projectEnvironment, java.lang.String zookeeperConnectionInfo)
Get an instance of the {@link #com.attivio.sdk.service.ServiceFactory}- Parameters:
projectName- The name of the Attivio project from which services should be fetched.projectEnvironment- The environment of the Attivio project from which services should be fetched.zookeeperConnectionInfo- The Zookeeper connection information for Attivio project from which services should be fetched. String should be in the format host:port.- Returns:
- ServiceFactory object
-
-