An OSGi service can register itself at the application model as a context function to get access to the IEclipseContext.
IEclipseContext
It can also be used to created instances for e4 dependency injection.