Interface CallTargetRetriever

All Known Implementing Classes:
ClassCallTargetRetriever

public interface CallTargetRetriever
Retrieves the target continuable for a call continuation.

This is used by the call/answer implementation in the BasicContinuableRunner, but if you use a similar approach in case you need to implement your own runner, then you can benefit from this interface too.

Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    getCallTarget(Object target, CallState state)
    Retrieves the continuable for a particular call continuation target and state.
  • Method Details

    • getCallTarget

      Object getCallTarget(Object target, CallState state)
      Retrieves the continuable for a particular call continuation target and state.
      Parameters:
      target - the call continuation target that was provided as an argument to the method call (see ContinuationConfigInstrument.getCallMethodDescriptor())
      state - the state of the call continuation
      Returns:
      the continuable that corresponds to the provided call target and state
      Since:
      1.0