Class ServiceAccessorFactory
java.lang.Object
org.bonitasoft.engine.service.impl.ServiceAccessorFactory
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.since 9.0.0, usecreateServiceAccessor()insteadvoidstatic ServiceAccessorFactory
-
Constructor Details
-
ServiceAccessorFactory
protected ServiceAccessorFactory()
-
-
Method Details
-
getInstance
-
createServiceAccessor
public ServiceAccessor createServiceAccessor() throws org.bonitasoft.engine.exception.BonitaHomeConfigurationException, IOException, ReflectiveOperationException- Throws:
org.bonitasoft.engine.exception.BonitaHomeConfigurationExceptionIOExceptionReflectiveOperationException
-
createPlatformServiceAccessor
@Deprecated(forRemoval=true, since="9.0.0") public PlatformServiceAccessor createPlatformServiceAccessor() throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, IOException, org.bonitasoft.engine.exception.BonitaHomeConfigurationException, ReflectiveOperationExceptionDeprecated, for removal: This API element is subject to removal in a future version.since 9.0.0, usecreateServiceAccessor()instead- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionIOExceptionorg.bonitasoft.engine.exception.BonitaHomeConfigurationExceptionReflectiveOperationException
-
createTenantServiceAccessor
@Deprecated(forRemoval=true, since="9.0.0") public TenantServiceAccessor createTenantServiceAccessor() throws SBonitaException, org.bonitasoft.engine.exception.BonitaHomeNotSetException, IOException, org.bonitasoft.engine.exception.BonitaHomeConfigurationException, ReflectiveOperationExceptionDeprecated, for removal: This API element is subject to removal in a future version.since 9.0.0, usecreateServiceAccessor()instead- Throws:
SBonitaExceptionorg.bonitasoft.engine.exception.BonitaHomeNotSetExceptionIOExceptionorg.bonitasoft.engine.exception.BonitaHomeConfigurationExceptionReflectiveOperationException
-
createSessionAccessor
public SessionAccessor createSessionAccessor() throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, IOException, org.bonitasoft.engine.exception.BonitaHomeConfigurationException, ReflectiveOperationException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionIOExceptionorg.bonitasoft.engine.exception.BonitaHomeConfigurationExceptionReflectiveOperationException
-
createAPIAccessResolver
public APIAccessResolver createAPIAccessResolver() throws IOException, org.bonitasoft.engine.exception.BonitaHomeConfigurationException, ReflectiveOperationException- Throws:
IOExceptionorg.bonitasoft.engine.exception.BonitaHomeConfigurationExceptionReflectiveOperationException
-
destroyAccessors
public void destroyAccessors()
-
createServiceAccessor()instead