Runtime application model

The platform runtime provides an application container for controlling and executing applications. The runtime application container implements the Application Admin service specification included in the OSGi R4 specification. The application container is responsible for discovering all available applications and registering an ApplicationDescriptor OSGi service for each application that is available. An ApplicationDescriptor service can be used to launch an application. When an application is launched an ApplicationHandle OSGi service is registered to represent the instance of the running application. An ApplicationHandle service can be used to shutdown an application. See the org.osgi.service.application package and the OSGi R4.2 specification for more information.

The default application

A given Eclipse configuration may contain many products and applications. An Eclipse configuration specifies a default application which is launched by the application container as soon as the platform runtime is up and running. The default application can be specified by one of the following configuration options

Defining an application

Plug-ins may define their own applications using the org.eclipse.core.runtime.applications extension. In this extension, the plug-in defines the name and ID of the application, as well a class that implements the application. The class which implements the application is used to launch and shutdown application instances.