Am Montag 16 November 2009 schrieb Guillaume Nodet: Thanks, Guillaume.
> Yes, the blueprint specification only allow interfaces and use proxies > underneath, so you can't access the real class. The geronimo > blueprint implementation has a feature similar to spring-dm where you > can have proxies for classes (using cglib) instead of just interfaces. How can I use this feature? Where is it documented? > But still you won't be able to access the exact instance that has > been registered in the OSGi registry. Does a cast or a call to instanceof work? I'm trying to figure out the most elegant way to inject a set of views in to an application's user interface. The views inherit from javafx.scene.CustomNode and it works when I use a wrapper. But I want to get rid off these wrappers of course. Any hint is welcome. > On Sun, Nov 15, 2009 at 19:15, Oliver Lietz <[email protected]> wrote: > > hello all, > > > > I'm exporting a service with auto-export set to all-classes, but a class > > cast exception is thrown when trying to cast the proxy to a concrete > > class from the class hierarchy of the exported service. Is this a known > > limitation? (a similar limitation in Spring DM comes to my mind) > > > > thanks, > > O. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

