Class TenantServicesManager


  • @Component
    public class TenantServicesManager
    extends java.lang.Object
    Handles the lifecycle of tenant services: start, stop, (pause, resume -> will be removed) Does not handle state of the tenant in database
    • Method Detail

      • isStarted

        public boolean isStarted()
      • start

        public void start()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • resume

        public void resume()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • stop

        public void stop()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • pause

        public void pause()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • initServices

        public void initServices()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • inTenantSessionTransaction

        public <T> void inTenantSessionTransaction​(java.util.concurrent.Callable<T> callable)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception