Example usage for org.springframework.context.support GenericXmlApplicationContext GenericXmlApplicationContext

List of usage examples for org.springframework.context.support GenericXmlApplicationContext GenericXmlApplicationContext

Introduction

In this page you can find the example usage for org.springframework.context.support GenericXmlApplicationContext GenericXmlApplicationContext.

Prototype

public GenericXmlApplicationContext(Class<?> relativeClass, String... resourceNames) 

Source Link

Document

Create a new GenericXmlApplicationContext, loading bean definitions from the given resource locations and automatically refreshing the context.

Usage

From source file:pl.com.bottega.acceptance.erp.SpringEnabledScenarioRunnerIT.java

@Override
public InjectableStepsFactory stepsFactory() {
    ApplicationContext applicationContext = new GenericXmlApplicationContext(
            "classpath:/stepsConfiguration.xml", "classpath:/rmiClientContext.xml");
    return new SpringStepsFactory(configuration, applicationContext);
}