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.TestExecutionListener
prepareTestInstance
in class org.springframework.test.context.support.AbstractTestExecutionListener
Exception
public void beforeTestMethod(org.springframework.test.context.TestContext testContext) throws Exception
beforeTestMethod
in interface org.springframework.test.context.TestExecutionListener
beforeTestMethod
in class org.springframework.test.context.support.AbstractTestExecutionListener
Exception
public void afterTestMethod(org.springframework.test.context.TestContext testContext) throws Exception
afterTestMethod
in interface org.springframework.test.context.TestExecutionListener
afterTestMethod
in class org.springframework.test.context.support.AbstractTestExecutionListener
Exception
Apache Camel