org.jbehave.core.steps.spring
Class SpringApplicationContextFactory

java.lang.Object
  extended by org.jbehave.core.steps.spring.SpringApplicationContextFactory

public class SpringApplicationContextFactory
extends java.lang.Object

Simple facade to create a using an injected ClassLoader.


Constructor Summary
SpringApplicationContextFactory(org.springframework.context.ApplicationContext parent, java.lang.ClassLoader classLoader, java.lang.String... resourceLocations)
           
SpringApplicationContextFactory(org.springframework.context.ApplicationContext parent, java.lang.String... resourceLocations)
           
SpringApplicationContextFactory(java.lang.ClassLoader classLoader, java.lang.String... resourceLocations)
           
SpringApplicationContextFactory(java.lang.String... resourceLocations)
           
 
Method Summary
 org.springframework.context.ConfigurableApplicationContext getApplicationContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringApplicationContextFactory

public SpringApplicationContextFactory(java.lang.String... resourceLocations)

SpringApplicationContextFactory

public SpringApplicationContextFactory(java.lang.ClassLoader classLoader,
                                       java.lang.String... resourceLocations)

SpringApplicationContextFactory

public SpringApplicationContextFactory(org.springframework.context.ApplicationContext parent,
                                       java.lang.String... resourceLocations)

SpringApplicationContextFactory

public SpringApplicationContextFactory(org.springframework.context.ApplicationContext parent,
                                       java.lang.ClassLoader classLoader,
                                       java.lang.String... resourceLocations)
Method Detail

getApplicationContext

public org.springframework.context.ConfigurableApplicationContext getApplicationContext()


Copyright © 2003-2010. All Rights Reserved.