Hello.

Does anybody here have any experience with Eclipse RCP and/or OSGI?

I have the following problem:
I created a new Eclipse RCP project. This project has an Activator class that starts a service i wrote. The service seems to work just fine according to logging data. However, i tried to inject an IEventBroker and that never shows up (the private field in the service implementation, which is marked with @Inject, is always null).
I added pretty much the same field in one of the UI classes and there it shows up fine.

Any ideas?

The line that i use to start the service with is as follows:
Activator.context.registerService(IVorschauService.class, new VorschauService(new DefaultVorschauProvider()), null)

Do i need to set any properties for this to work?