public class CamelSpringBootExecutionListener
extends org.springframework.test.context.support.AbstractTestExecutionListener
| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<org.springframework.context.ConfigurableApplicationContext> |
threadApplicationContext |
| Constructor and Description |
|---|
CamelSpringBootExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestMethod(org.springframework.test.context.TestContext testContext) |
void |
beforeTestMethod(org.springframework.test.context.TestContext testContext) |
void |
prepareTestInstance(org.springframework.test.context.TestContext testContext) |
protected static ThreadLocal<org.springframework.context.ConfigurableApplicationContext> threadApplicationContext
public void prepareTestInstance(org.springframework.test.context.TestContext testContext)
throws Exception
prepareTestInstance in interface org.springframework.test.context.TestExecutionListenerprepareTestInstance in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionpublic void beforeTestMethod(org.springframework.test.context.TestContext testContext)
throws Exception
beforeTestMethod in interface org.springframework.test.context.TestExecutionListenerbeforeTestMethod in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionpublic void afterTestMethod(org.springframework.test.context.TestContext testContext)
throws Exception
afterTestMethod in interface org.springframework.test.context.TestExecutionListenerafterTestMethod in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionApache Camel