Class ServiceAccessorFactory


  • public class ServiceAccessorFactory
    extends java.lang.Object
    Main entry point to access services and api implementation of the engine ServiceAccessors and APIAccessResolver classes can be overridden in the configuration under the name `serviceAccessors` and `apiAccessResolver`
    • Constructor Detail

      • ServiceAccessorFactory

        protected ServiceAccessorFactory()
    • Method Detail

      • createServiceAccessor

        public ServiceAccessor createServiceAccessor()
                                              throws org.bonitasoft.engine.exception.BonitaHomeConfigurationException,
                                                     java.io.IOException,
                                                     java.lang.ReflectiveOperationException
        Throws:
        org.bonitasoft.engine.exception.BonitaHomeConfigurationException
        java.io.IOException
        java.lang.ReflectiveOperationException
      • createPlatformServiceAccessor

        @Deprecated(forRemoval=true,
                    since="9.0.0")
        public PlatformServiceAccessor createPlatformServiceAccessor()
                                                              throws org.bonitasoft.engine.exception.BonitaHomeNotSetException,
                                                                     java.io.IOException,
                                                                     org.bonitasoft.engine.exception.BonitaHomeConfigurationException,
                                                                     java.lang.ReflectiveOperationException
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 9.0.0, use createServiceAccessor() instead
        Throws:
        org.bonitasoft.engine.exception.BonitaHomeNotSetException
        java.io.IOException
        org.bonitasoft.engine.exception.BonitaHomeConfigurationException
        java.lang.ReflectiveOperationException
      • createTenantServiceAccessor

        @Deprecated(forRemoval=true,
                    since="9.0.0")
        public TenantServiceAccessor createTenantServiceAccessor()
                                                          throws SBonitaException,
                                                                 org.bonitasoft.engine.exception.BonitaHomeNotSetException,
                                                                 java.io.IOException,
                                                                 org.bonitasoft.engine.exception.BonitaHomeConfigurationException,
                                                                 java.lang.ReflectiveOperationException
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 9.0.0, use createServiceAccessor() instead
        Throws:
        SBonitaException
        org.bonitasoft.engine.exception.BonitaHomeNotSetException
        java.io.IOException
        org.bonitasoft.engine.exception.BonitaHomeConfigurationException
        java.lang.ReflectiveOperationException
      • createSessionAccessor

        public SessionAccessor createSessionAccessor()
                                              throws org.bonitasoft.engine.exception.BonitaHomeNotSetException,
                                                     java.io.IOException,
                                                     org.bonitasoft.engine.exception.BonitaHomeConfigurationException,
                                                     java.lang.ReflectiveOperationException
        Throws:
        org.bonitasoft.engine.exception.BonitaHomeNotSetException
        java.io.IOException
        org.bonitasoft.engine.exception.BonitaHomeConfigurationException
        java.lang.ReflectiveOperationException
      • createAPIAccessResolver

        public APIAccessResolver createAPIAccessResolver()
                                                  throws java.io.IOException,
                                                         org.bonitasoft.engine.exception.BonitaHomeConfigurationException,
                                                         java.lang.ReflectiveOperationException
        Throws:
        java.io.IOException
        org.bonitasoft.engine.exception.BonitaHomeConfigurationException
        java.lang.ReflectiveOperationException
      • destroyAccessors

        public void destroyAccessors()