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) |
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 prepareTestInstance(org.springframework.test.context.TestContext testContext)
throws Exception
Exceptionpublic void beforeTestMethod(org.springframework.test.context.TestContext testContext)
throws Exception
ExceptionApache Camel