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

Reply via email to