com.ibm.websphere.sca

Interface ServiceImplAsync


  1. public interface ServiceImplAsync
The ServiceImplAsync interface is implemented by service components that need to handle asynchronous service invocations generically. Typically the component implementation will look at the operationType representing the invoked business operation and will dispatch to the corresponding business logic.

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
invokeAsync(OperationType operationType,java.lang.Object input,ServiceCallback callback,Ticket ticket)
Handles an asynchronous service invocation.

Field Detail

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

Method Detail

invokeAsync

  1. void invokeAsync(OperationType operationType,
  2. java.lang.Object input,
  3. ServiceCallback callback,
  4. Ticket ticket)
Handles an asynchronous service invocation.
Parameters:
operationType - The OperationType representing the business operation.
input - The input business data.
callback - An instance of ServiceCallback that the service component must use to send an asynchronous response.
ticket - A ticket identifying the current asynchronous interaction..
Throws:
ServiceBusinessException - An exception representing a business exception.