felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls" <karlpa...@gmail.com>
Subject Re: EventAdmin registered Event
Date Wed, 12 Jul 2006 05:35:21 GMT
Hello Leo,

> When I got the service object, I can see from my IDE that it's an
> instance of EventAdminSecurityDecorator.

This is correct.

> However, when ask to cast the
> service object to an EventAdmin class, I get a ClassCastException.

Could you please share the stacktrace with us?

> There are no other class with the same name in my source tree. Can someone
> tell me what could be wrong? Thanks!

Do you import the org.osgi.service.event package?

> -Leo

regards,

Karl

-- 
Karl Pauls
karlpauls@gmail.com

Mime
View raw message