@Configuration @EnableConfigurationProperties(value=StubRunnerProperties.class) @ConditionalOnMissingBean(type="org.springframework.cloud.contract.wiremock.WiremockServerConfiguration") public class StubRunnerConfiguration extends Object
BatchStubRunner that runs
StubRunner instance for each stub| Constructor and Description |
|---|
StubRunnerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
BatchStubRunner |
batchStubRunner()
Bean that initializes stub runners, runs them and on shutdown closes them.
|
@Bean public BatchStubRunner batchStubRunner() throws IOException
IOExceptionCopyright © 2016 Spring. All rights reserved.