[
http://issues.ops4j.org/browse/PAXEXAM-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12147#action_12147
]
Toni Menzel commented on PAXEXAM-41:
------------------------------------
Yes, actually the existence of excellent injection fw (ipojo,
springdm,guice/peaberry) is the reason why we left @Inject just of
BundleContext so far.
After the 0.4 release i am quite confident that we will see one or another
injection solution on service level in exam.
> Should be able to @Inject services
> ----------------------------------
>
> Key: PAXEXAM-41
> URL: http://issues.ops4j.org/browse/PAXEXAM-41
> Project: Pax Exam
> Issue Type: Improvement
> Reporter: Craig Walls
> Assignee: Toni Menzel
> Priority: Minor
>
> I'd like to use @Inject (or some other annotation) to auto-inject services
> into my Pax Exam tests. For example:
> @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 simplify testing with Pax Exam even further and bridge the gap
> between Pax Exam's capability's and Spring-DM's testing support.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general