Package rife.continuations.basic
Class ClassCallTargetRetriever
java.lang.Object
rife.continuations.basic.ClassCallTargetRetriever
- All Implemented Interfaces:
CallTargetRetriever
Retrieves the continuable for a call continuation where the call target is a
class.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCallTarget(Object target, CallState state) Retrieves the continuable for a call continuation.
-
Constructor Details
-
ClassCallTargetRetriever
public ClassCallTargetRetriever()
-
-
Method Details
-
getCallTarget
Retrieves the continuable for a call continuation.- Specified by:
getCallTargetin interfaceCallTargetRetriever- Parameters:
target- the call target object that will be used to retrieve the continuablestate- the call state- Returns:
- the call continuable; or
nullif no continuable should be executed immediately in response to this call - Since:
- 1.0
-