@ContextConfiguration(loader=SpringApplicationContextLoader.class) @Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface SpringApplicationConfiguration
ContextConfiguration
but uses Spring Boot's
SpringApplicationContextLoader
.SpringApplicationContextLoader
Modifier and Type | Optional Element and Description |
---|---|
Class<?>[] |
classes |
boolean |
inheritInitializers |
boolean |
inheritLocations |
Class<? extends ApplicationContextInitializer<? extends ConfigurableApplicationContext>>[] |
initializers |
String[] |
locations |
String |
name |
public abstract String[] locations
ContextConfiguration.locations()
public abstract Class<?>[] classes
ContextConfiguration.classes()
public abstract Class<? extends ApplicationContextInitializer<? extends ConfigurableApplicationContext>>[] initializers
ContextConfiguration.initializers()
public abstract boolean inheritLocations
ContextConfiguration.inheritLocations()
public abstract String name
ContextConfiguration.name()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.