Class AbstractJMXMBean.TenantAwareExecutor<T>

    • Constructor Detail

      • TenantAwareExecutor

        protected TenantAwareExecutor()
        calls perform()
    • Method Detail

      • getResult

        public T getResult()
        Returns:
        the result of the doExecute() operation.
      • getCurrentTenant

        protected final Tenant getCurrentTenant()
      • doExecute

        protected abstract T doExecute()
        The content of this method will run with activated tenant and the tenant will always deactivated afterward.
        Returns:
        your result