Riena Getting Started with Wiring
Revision as of 05:22, 30 April 2009 by Stefan.Liebig.compeople.de (Talk | contribs) (New page: == Getting Started with Wiring == Before you continue reading this please read Riena Getting Started with injecting services and extensions. === Use case === Within an Eclipse RCP ba...)
Getting Started with Wiring
Before you continue reading this please read Riena Getting Started with injecting services and extensions.
Use case
Within an Eclipse RCP based applications components often start their life cycle because they were contributed as an executable extension org.eclipse.core.runtime.IConfigurationElement.createExecutableExtension(String)
.
Who or what is responsible for injecting the needed services and/or extensions into these objects? And how does it know what to inject?
Wiring
The answer to this question is Wiring. With the following sentence it is possible to initiate the wiring, i.e. perform all the necessary injections of services and extensions.
Wire.instance(object).andStart(context);