ServiceImplSync interface

Service components that generically handle synchronous service invocations implement this interface.

Purpose

Use this interface to invoke a service with a synchronous interface. Generally, the services have short duration and respond quickly to the component.

Examples

The following shows a client invoking the stockQuote service synchronously.
Service stockQuote = (Service)serviceManager.locateService(“stockQuote");
Float quote = (Float)stockQuote.invoke(“getQuote”, new Object[] {“IBM”})[0];
Related reference
Component interface
EndPointReference interface
EndPointReferenceFactory interface
Service exceptions
InterfaceType interface
Service interface
ServiceCallback interface
ServiceImplAsync interface
ServiceManager class
Ticket interface
Related information
Interface ServiceImplSync APIs

Terms of use |

Last updated: Tue Feb 21 17:04:27 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)