[ https://jira.codehaus.org/browse/JBEHAVE-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295597#comment-295597 ]
Brian Repko commented on JBEHAVE-754: ------------------------------------- Spring 3.1 now supports lots more features in this world and frankly I'm not sure that SpringApplicationContextFactory should have to keep up with all of them. A good overview can be found at http://blog.chariotsolutions.com/2012/01/spring-31-cool-new-features.html One thing that I would point out (I rarely use this class by the way - I rewrite things to use my own ApplicationContext) is that if you look at the ContextConfiguration annotation used by Spring Test - that would be a good guide for what we need. That annotation takes 3 main things - a loader value (with the default ContextLoader class), locations - the set of XML files and classes - the set of @Configuration classes. That's really what's needed - the way to designate a ContextLoader and then pass it classes or locations. The ContextLoader interface is what the loader has to support. That way we can do all kinds of things like environment support etc using the built-in ContextLoaders from Spring and the JBehave Spring factory class doesn't have to keep up with all the changes. > 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