FYI there is pax-wicket project which is intended to support OSGi based 
deployments for Wicket.

Cheers,
Lukasz
—
[email protected]
Twitter: ldywicki
Blog: http://dywicki.pl
Code-House - http://code-house.org

> Wiadomość napisana przez Daniel Stoch <[email protected]> w dniu 23 lut 
> 2016, o godz. 15:01:
> 
> On Tue, Feb 23, 2016 at 2:33 PM, Martin Grigorov <[email protected]> wrote:
> 
>> 
>> Please check
>> https://github.com/wicketstuff/core/blob/master/wicket-osgi-parent/wicket-osgi/src/main/java/org/wicketstuff/osgi/OsgiClassResolver.java
>> (or its wicket-6.x version).
> 
> But I think this implementation is incorrect and it can work only
> under special conditions. It assumes that class of my application has
> access to all classes: so bundle should contains:
> DynamicImport-Package: *.
> But even when I add such line to MANIFEST.MF with my application
> bundle, the situation is the same like using my own implementation of
> IClassResolver: some IInitializers are not found at all.
> 
> So even with OsgiClassResolver it does not work as it is designed.
> 
> --
> Daniel

Reply via email to