com.ibm.websphere.sca
Interface ServiceCallback
public interface ServiceCallback
The callback interface is implemented by service components that need to handle asynchronous callback interactions.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
void |
onInvokeResponse(Ticket ticket,
java.lang.Object output,
java.lang.Exception exception)
Callback method invoked by the SCA runtime to pass an asynchronous response to a service component. |
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
onInvokeResponse
void onInvokeResponse(Ticket ticket,
java.lang.Object output,
java.lang.Exception exception)
- Callback method invoked by the SCA runtime to pass an asynchronous response to a service component.
- Parameters:
ticket
- The ticket identifying the asynchronous invocation, initially returned by the invokeAsyncWithCallback() method.output
- The business data returned by the target business operation.exception
- Any exception thrown from the target business operation.