[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264766#action_264766 ] Paul Hammant commented on JBEHAVE-492: -- OK, here's the unfortunate way we'll have to do this I

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264747#action_264747 ] Paul Hammant commented on JBEHAVE-492: -- You guys may be right - only the fist instance made by

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264744#action_264744 ] Paul Hammant commented on JBEHAVE-492: -- I'm still digging through code. I think things (around

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Mauro Talevi (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264738#action_264738 ] Mauro Talevi commented on JBEHAVE-492: -- To do that, we'd loose the nice abstraction that we hav

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264735#action_264735 ] Paul Hammant commented on JBEHAVE-492: -- > So if you really need new steps classes (and others)

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264734#action_264734 ] Paul Hammant commented on JBEHAVE-492: -- In Pico-land you could register a component by a) insta

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Brian Repko (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264732#action_264732 ] Brian Repko commented on JBEHAVE-492: - Take that back - Spring 3.0 has thread scope per bean. I'

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Brian Repko (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264730#action_264730 ] Brian Repko commented on JBEHAVE-492: - Got it - thanks, Paul. ThreadCaching is interesting - in

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264727#action_264727 ] Paul Hammant commented on JBEHAVE-492: -- Here's the initial stack trace (EtsyStories constructor

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Mauro Talevi (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264726#action_264726 ] Mauro Talevi commented on JBEHAVE-492: -- So when are the steps classes instantiated when running

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264723#action_264723 ] Paul Hammant commented on JBEHAVE-492: -- So the Etsy-Stories module in 'tutorial' is using a Thr

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264724#action_264724 ] Paul Hammant commented on JBEHAVE-492: -- If you don't believe me, add a break-point to BasePage'

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Brian Repko (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264719#action_264719 ] Brian Repko commented on JBEHAVE-492: - Is this more related to multi-threading? Perhaps the desi

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Mauro Talevi (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264715#action_264715 ] Mauro Talevi commented on JBEHAVE-492: -- Sorry, still no wiser about this use case :-( What do y

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Brian Repko (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264708#action_264708 ] Brian Repko commented on JBEHAVE-492: - Hunh? When using the DI/IoC container the steps classes a

[jbehave-dev] [jira] Commented: (JBEHAVE-492) ConfigurableEmbedder.addSteps(..) should take classes not instances.

2011-04-26 Thread Paul Hammant (JIRA)
[ http://jira.codehaus.org/browse/JBEHAVE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264677#action_264677 ] Paul Hammant commented on JBEHAVE-492: -- End-users. In the meantime, if you're trying to do the