com.uwyn.rife.continuations.basic
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.6
Version:
$Revision: 3812 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Method Summary
 ContinuableObject getCallTarget(Object target, CallState state)
          Retrieves the continuable for a particular call continuation target and state.
 

Method Detail

getCallTarget

ContinuableObject 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.getCallMethodArgumentTypes())
state - the state of the call continuation
Returns:
the continuable that corresponds to the provided call target and state
Since:
1.6


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.