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 information
Interface ServiceImplSync APIs

Terms of use |

Last updated: Thu Apr 27 14:35:54 2006

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