Class ClassCallTargetRetriever

java.lang.Object
rife.continuations.basic.ClassCallTargetRetriever
All Implemented Interfaces:
CallTargetRetriever

public class ClassCallTargetRetriever extends Object implements CallTargetRetriever
Retrieves the continuable for a call continuation where the call target is a class.
Since:
1.0
  • Constructor Details

    • ClassCallTargetRetriever

      public ClassCallTargetRetriever()
  • Method Details

    • getCallTarget

      public Object getCallTarget(Object target, CallState state)
      Retrieves the continuable for a call continuation.
      Specified by:
      getCallTarget in interface CallTargetRetriever
      Parameters:
      target - the call target object that will be used to retrieve the continuable
      state - the call state
      Returns:
      the call continuable; or

      null if no continuable should be executed immediately in response to this call

      Since:
      1.0