Make @Configuration extendable by attribute: @Configuration ( 
MyOptionProfile.class )
-------------------------------------------------------------------------------------

                 Key: PAXEXAM-42
                 URL: http://issues.ops4j.org/browse/PAXEXAM-42
             Project: Pax Exam
          Issue Type: Improvement
            Reporter: Toni Menzel
            Assignee: Toni Menzel


During looking at first class support for certain popular Frameworks (SpringDM) 
i found it would be quite natural to let 
the @Configuration annotation settable on class wide scope:

@RunWith( JUnit4TestRunner.class )
@Configuration( extend = MasterProfile.class )
public class ClassConfigurationTest
{
..
}

Parameter "extend" is of type Class<? extends CompositeOption> .. defaulting to 
 an empty option (so you don't have to specify anything, but you can).

Also, the syntax should be allowed and recognized when using @Configaration on 
Methods as before:
    @Configuration( extend = SubProfile.class )
    public Option[] configure()
    {
       ..
    }




-- 
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