It's "just" models that automatically return a service type from the osgi service registry, so for example the
AbstractDetachableServiceModel<T extends Object, E extends Object> This model makes it easier to work with OSGi services in Wicket. It is a LoadableDetachableModel that loads data via a Service accuired from the Service Registry. Where T is the service class and E are the return Object It also have nice error handling if the service are unavailable.. Of course it's still possible to use @Inject as normally. Or mix them, I'd personally prefer only one style per bundle though.. On Mon, May 30, 2016 at 1:16 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > Could you please share some more information about "Alternative Wicket > Models preconfigured for OSGI (Martin Nybo Nielsen)" ? > Thank you! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, May 30, 2016 at 12:52 PM, nino martinez wael < > nino.martinez.w...@gmail.com> wrote: > >> PAX-Wicket 3.0.4, running Wicket OSGI style >> >> Main goal for this release are to bring PAX-Wicket to working state on >> Apache Karaf 4.x, while retaining compability the other containers >> >> Major features >> * Working with Karaf 4.x (Nino Martinez Wael) >> * Working wik Wicket 6.22 (Nino Martinez Wael) >> * Karaf Feature files for all samples (Nino Martinez Wael) >> * Alternative Wicket Models preconfigured for OSGI (Martin Nybo Nielsen) >> * Reworked Internals to provide better support (Christoph Läubrich) >> * Integration tests for Apache Karaf added >> >> >> KNOWN Issues >> * Weaving hook has been disabled, it added dependencies to dynamic imports. >> >> Thanks for OPS4J people for making this happen >> >> Want to know more about PAX-Wicket GO here: >> >> https://ops4j1.jira.com/wiki/display/paxwicket/Pax+Wicket >> >> -- >> Best regards / Med venlig hilsen >> Nino Martinez >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> -- Best regards / Med venlig hilsen Nino Martinez --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org