Class ServiceFactoryFactory


  • public class ServiceFactoryFactory
    extends java.lang.Object
    Factory class for creating an instance of the ServiceFactory
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ServiceFactory get()
      Get an instance of the {@link #com.attivio.sdk.service.ServiceFactory}
      static ServiceFactory get​(java.lang.Object serviceFactoryParams)
      Get an instance of the {@link #com.attivio.sdk.service.ServiceFactory}
      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}
      static ServiceFactory getRemote​(java.lang.String projectName, java.lang.String projectEnvironment, java.lang.String zookeeperConnectionInfo, java.lang.Object serviceFactoryParams)
      Similar to getRemote(String, String, String), but allows for specification of arbitrary service factory parameters.
      protected static void init()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • ServiceFactoryFactory

        public ServiceFactoryFactory()
    • 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 to getRemote(String, String, String), but allows for specification of arbitrary service factory parameters.
        Parameters:
        projectName -
        projectEnvironment -
        zookeeperConnectionInfo -
        serviceFactoryParams - The factory parameters for the type params.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