com.ibm.websphere.sca

Interface ServiceImplSync


  1. public interface ServiceImplSync
The ServiceImplSync interface is implemented by service components that need to handle synchronous 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. java.lang.Object
invoke(OperationType operationType,java.lang.Object input)
Handles a synchronous service invocation.

Field Detail

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

Method Detail

invoke

  1. java.lang.Object invoke(OperationType operationType,
  2. java.lang.Object input)
  3. throws ServiceBusinessException
Handles a synchronous service invocation.
Parameters:
operationType - The OperationType representing the business operation.
input - The input business data.
Returns:
Object The output business data.
Throws:
ServiceBusinessException - An exception representing a business exception.