@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 org.springframework.context.ApplicationContextInitializer<? extends org.springframework.context.ConfigurableApplicationContext>>[] |
initializers |
String[] |
locations |
String |
name |
public abstract String[] locations
ContextConfiguration.locations()
public abstract Class<?>[] classes
ContextConfiguration.classes()
public abstract Class<? extends org.springframework.context.ApplicationContextInitializer<? extends org.springframework.context.ConfigurableApplicationContext>>[] initializers
ContextConfiguration.initializers()
public abstract boolean inheritLocations
ContextConfiguration.inheritLocations()
public abstract boolean inheritInitializers
ContextConfiguration.inheritInitializers()
public abstract String name
ContextConfiguration.name()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.