On 3 Jul 2011, at 22:56 , Toni Menzel wrote:

> Additionally, just because sometimes things are way simpler:
> Because you wrote "throws ClassCastException. reference is of type 
> MyClassImpl"
> Double check if MyClassImpl really implements MyClass (interface).

If a class does not implement an interface, and you register it in the service 
registry under that interface, you will immediately get an error message from 
the OSGi framework, so I think in this case, this is not the cause.

Greetings, Marcel

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to