Package org.bonitasoft.engine.tenant
Class TenantServicesManager
java.lang.Object
org.bonitasoft.engine.tenant.TenantServicesManager
Handles the lifecycle of tenant services: start, stop, (pause, resume -> will be removed)
Does not handle state of the tenant in database
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionTenantServicesManager(SessionAccessor sessionAccessor, SessionService sessionService, TransactionService transactionService, ClassLoaderService classLoaderService, List<TenantLifecycleService> services, TenantElementsRestarter tenantElementsRestarter) -
Method Summary
Modifier and TypeMethodDescriptionprotected LongcreateSession(SessionService sessionService) void<T> voidinSessionTransaction(Callable<T> callable) booleanvoidpause()voidresume()voidstart()voidstop()
-
Constructor Details
-
TenantServicesManager
public TenantServicesManager(SessionAccessor sessionAccessor, SessionService sessionService, TransactionService transactionService, ClassLoaderService classLoaderService, List<TenantLifecycleService> services, TenantElementsRestarter tenantElementsRestarter)
-
-
Method Details