Hi folks,

I prepared a TurbineService which implements TurbineServiceProvider and
provides a simple OSGi service container based on Apache Felix. I am no
OSGi expert and so I have some problems left to solve before I can
commit this thing:

- For testing purposes, I need a bundle that can be installed. AFAICT,
bundles must be jar-files so that the bundle must be built as a separate
artifact before the test can run. Any idea how to do this? Any
repository-based example that could be used instead of my own? The
bundle should register a service to be useful.

- Because the client using the service normally has no access to the
classpath of the service (OSGi class loaders and stuff), the service
object cannot be casted to some interface. That means reflection. Is
this supposed to work this way?

I hope someone in this community already stumbled across OSGi and can
help me with these oddities. In any case, give it a shot. Any hint will
be appreciated.

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to