New EclipseContextFactory.getServiceContext(Class<?>) method (#17)
Issue https://github.com/eclipse-platform/eclipse.platform.runtime/issues/43
Co-authored-by: Christoph Läubrich <laeubi@laeubi-soft.de>
diff --git a/4.24/platform_isv.html b/4.24/platform_isv.html
index 45bddeb..3efaa0e 100644
--- a/4.24/platform_isv.html
+++ b/4.24/platform_isv.html
@@ -55,6 +55,15 @@
</p>
</td>
</tr>
+ <tr id="EclipseContextFactory"> <!-- https://github.com/eclipse-platform/eclipse.platform.runtime/issues/43 -->
+ <td class="title"><a href="#EclipseContextFactory">New EclipseContextFactory<br/>.getServiceContext(Class<?>) method</a></td>
+ <td class="content">
+ <p>
+ There is now a new <code>EclipseContextFactory.getServiceContext(Class<?>)</code> method that could be used to acquire an E4 Service Context containing all OSGi services using a context class.
+ This becomes handy in situations where you neither has an E4 context nor an OSGi context at hand (e.g. E3 legacy code) but still want to inject some fields or create injected objects.
+ </p>
+ </td>
+ </tr>
<!-- ******************** End of Platform ********************** -->
<!-- *********************** SWT *********************** -->