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

      • createPlatformServiceAccessor

        public PlatformServiceAccessor createPlatformServiceAccessor()
                                                              throws org.bonitasoft.engine.exception.BonitaHomeNotSetException,
                                                                     java.lang.InstantiationException,
                                                                     java.lang.IllegalAccessException,
                                                                     java.lang.ClassNotFoundException,
                                                                     java.io.IOException,
                                                                     org.bonitasoft.engine.exception.BonitaHomeConfigurationException
        Throws:
        org.bonitasoft.engine.exception.BonitaHomeNotSetException
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.ClassNotFoundException
        java.io.IOException
        org.bonitasoft.engine.exception.BonitaHomeConfigurationException
      • createTenantServiceAccessor

        public TenantServiceAccessor createTenantServiceAccessor()
                                                          throws SBonitaException,
                                                                 org.bonitasoft.engine.exception.BonitaHomeNotSetException,
                                                                 java.io.IOException,
                                                                 org.bonitasoft.engine.exception.BonitaHomeConfigurationException,
                                                                 java.lang.NoSuchMethodException,
                                                                 java.lang.InstantiationException,
                                                                 java.lang.IllegalAccessException,
                                                                 java.lang.reflect.InvocationTargetException,
                                                                 java.lang.ClassNotFoundException
        Throws:
        SBonitaException
        org.bonitasoft.engine.exception.BonitaHomeNotSetException
        java.io.IOException
        org.bonitasoft.engine.exception.BonitaHomeConfigurationException
        java.lang.NoSuchMethodException
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
        java.lang.ClassNotFoundException
      • createSessionAccessor

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

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

        public void destroyAccessors()