Interface ResumeAware<T extends ResumeStrategy>


public interface ResumeAware<T extends ResumeStrategy>
An interface to represent an object which wishes to support resume operations using a ResumeStrategy.
  • Method Details

    • setResumeStrategy

      void setResumeStrategy(T resumeStrategy)
      Injects the ResumeStrategy instance into the object
      Parameters:
      resumeStrategy - the resume strategy
    • getResumeStrategy

      T getResumeStrategy()
      Gets the ResumeStrategy instance
      Returns:
      the resume strategy
    • adapterFactoryService

      default String adapterFactoryService()
      Allows the implementation to provide custom adapter factories. It binds the service name provided in the JdkService annotation in the adapter with the resume aware class. This allows the adapter to be resolved automatically in runtime while also allowing fallback to reusable adapters when available.
      Returns: