Interface WorkService

All Superinterfaces:
LifecycleService, TenantLifecycleService
All Known Implementing Classes:
WorkServiceImpl

public interface WorkService extends TenantLifecycleService
This service allows register the execution of a work at the end of the current transaction
Author:
Charles Souillard, Baptiste Mesta, Matthieu Chaffotte
  • Method Details

    • registerWork

      void registerWork(WorkDescriptor workDescriptor) throws SWorkRegisterException
      This operation MUST be called within an active transaction. If no active transaction is found, a SWorkRegisterException is thrown
      Parameters:
      workDescriptor -
      Throws:
      SWorkRegisterException
      Since:
      6.0
    • isStopped

      boolean isStopped()
      Returns:
      true if the work service is stopped
      Since:
      6.3