Class ContextAwareTaskDecorator

java.lang.Object
org.apache.fineract.cob.loan.ContextAwareTaskDecorator
All Implemented Interfaces:
org.springframework.core.task.TaskDecorator

public class ContextAwareTaskDecorator extends Object implements org.springframework.core.task.TaskDecorator
Task decorator to ensure proper thread context propagation and cleanup
  • Constructor Details

    • ContextAwareTaskDecorator

      public ContextAwareTaskDecorator()
  • Method Details

    • decorate

      @NonNull public Runnable decorate(@NonNull Runnable runnable)
      Specified by:
      decorate in interface org.springframework.core.task.TaskDecorator