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 |
beforeTestClass(org.springframework.test.context.TestContext testContext) |
void |
beforeTestMethod(org.springframework.test.context.TestContext testContext) |
int |
getOrder()
Returns the precedence that is used by Spring to choose the appropriate execution order of test listeners.
|
void |
prepareTestInstance(org.springframework.test.context.TestContext testContext) |
protected static ThreadLocal<org.springframework.context.ConfigurableApplicationContext> threadApplicationContext
public int getOrder()
SpringTestExecutionListenerSorter.getPrecedence(Class) for more.getOrder in interface org.springframework.core.OrderedgetOrder in class org.springframework.test.context.support.AbstractTestExecutionListenerpublic void beforeTestClass(org.springframework.test.context.TestContext testContext)
throws Exception
beforeTestClass in interface org.springframework.test.context.TestExecutionListenerbeforeTestClass in class org.springframework.test.context.support.AbstractTestExecutionListenerExceptionpublic 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