I discussed with Toni a while ago that we should have first class support for Spring-DM users and I guess one of the goals after we release 0.4.0. See http://issues.ops4j.org/browse/PAXEXAM-33 and add your comments if required.
On Mon, Apr 6, 2009 at 4:15 PM, Craig Walls <[email protected]> wrote: > > A hearty +1 from me as well. > > The one thing that I think would be awesome is if I could use @Inject for > more than just the BundleContext...I want to use it for services. For > example, if I say: > > @Inject > private FooService fooService; > > Then it'd be great for Pax Exam to lookup a service that implements > FooService. Or... > > @Inject > private FooService[] fooServices; > > Then it would inject a collection of services when there are more than one > matching service. > > This would save me from having to work directly with the OSGi API to lookup > services in my tests. And it would fill the gap between Pax Exam and > Spring-DM's testing support. > > FWIW, I just added this as PAXEXAM-41. > > > > > David Leangen wrote: >>>> >>>> I just started using Pax Exam for a new experiment. I expected it to >>>> be a lot harder to use than it was. >>> >>> +1 >> >> +1 >> >> I also just started using it last week. It's really nice!! >> >> The basics are all there, so additional features are additional sugar to >> make things even smoother. >> >> BTW... >> >> I was thinking: sometimes I need to run automated processes in a periodic >> manner, without having a 24/7 container. The lifecycle is essentially the >> same: provision, start, run, shutdown. >> >> I wonder if it would be a good idea to use the current codebase for >> something like a "pax process", and make pax-exam an implementation of that >> more general project. >> >> >> wdyt? >> >> >> Cheers, >> =David >> >> >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general > > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. Looking for a job. Sent from Cluj-Napoca, CJ, Romania _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
