[ 
https://jira.codehaus.org/browse/JBEHAVE-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295556#comment-295556
 ] 

Mauro Talevi commented on JBEHAVE-754:
--------------------------------------

Hi Boris,

I've upgraded jbehave-spring to version 3.1.x (but still keeping backward 
compat with 2.5.x).  

As for adding support for the AnnotationConfigApplicationContext, my preference 
would be do it via the SpringApplicationContextFactory (they are both instances 
of ConfigurableApplicationContext).  

Two options:  either we overload the meaning of "resources" for both XML and 
annotated class configuration resources or we use a separate list for the 
annotated classes (in the latter case we cannot use the varargs).  I'd be 
tempted to go for the former overloading option.  We could pass in as the 
"resource" the fully qualified class name and let the classloader load the 
class which is pass on to the AnnotationConfigApplicationContext.   

Comments welcome!  Either way, it'd be useful if you could fork a repo on 
Github (from https://github.com/jbehave/jbehave-core) and share commit links 
which I can pull more easily. 


                
> Support Spring AnnotationConfigApplicationContext
> -------------------------------------------------
>
>                 Key: JBEHAVE-754
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-754
>             Project: JBehave
>          Issue Type: Improvement
>          Components: Spring Support
>    Affects Versions: 3.5.4, 3.6
>            Reporter: Boris Pavlovic
>            Assignee: Mauro Talevi
>            Priority: Minor
>              Labels: annotation, configuration, spring, support
>             Fix For: 3.6.1
>
>         Attachments: 
> examples_using_spring_java_(annotations)_based_configuration.zip, 
> jbehave-spring-support-for-annotations.patch
>
>
> A patch for jbehave-spring that allows for Java (Annotation) based Spring 
> configurations
> Included are examples using annotations based configuration

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to