com.ibm.websphere.sca

Interface ServiceCallback


  1. public interface ServiceCallback
The callback interface is implemented by service components that need to handle asynchronous callback interactions.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. 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.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

onInvokeResponse

  1. void onInvokeResponse(Ticket ticket,
  2. java.lang.Object output,
  3. 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.