public interface ServiceCallback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
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.
|
static final java.lang.String COPYRIGHT
void onInvokeResponse(Ticket ticket, java.lang.Object output, java.lang.Exception exception)
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.