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
-
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:
getCallTarget
in interfaceCallTargetRetriever
- Parameters:
target
- the call target object that will be used to retrieve the continuablestate
- the call state- Returns:
- the call continuable; or
null
if no continuable should be executed immediately in response to this call - Since:
- 1.0
-