Service Example
Introduction
This example describes the usage of the Service framework within
the SDK. It demonstrates how to create a Service and define
Providers for that service as well as giving clients access to the
Service.
References
Refer to the on-line Java documentation for the package
org.eclipse.gmf.runtime.common.core.service for more information on
general use and API specifics.
Description
This example plug-in, called
org.eclipse.gmf.examples.runtime.common.service, creates a Widget
Service and defines two Widget Providers. This plug-in also
contributes an action which request Widgets from the Widget
Service.
Please refer to the tutorial
Serviceand Provider Tutorial for viewing the code samples within this
example
Usage
Refer to this example if you need to:
-
To create a Service which Providers to contribute to the Service
via the Service extension point.
-
Allow Providers to prioritize themselves so that results from the
Service are deterministic.
-
Allow one or more Providers to service a client request.
Copyright
(c) 2000,2005 IBM Corporation and others. All Rights
Reserved.