org.apache.camel.test.spring
Class DisableJmxTestExecutionListener
java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
org.apache.camel.test.spring.DisableJmxTestExecutionListener
- All Implemented Interfaces:
- org.springframework.test.context.TestExecutionListener
public class DisableJmxTestExecutionListener
- extends org.springframework.test.context.support.AbstractTestExecutionListener
Provides reset to pre-test state behavior for global enable/disable of JMX
support in Camel through the use of DisableJmx
.
Tries to ensure that the pre-test value is restored.
Method Summary |
void |
afterTestClass(org.springframework.test.context.TestContext testContext)
|
Methods inherited from class org.springframework.test.context.support.AbstractTestExecutionListener |
afterTestMethod, beforeTestClass, beforeTestMethod, prepareTestInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisableJmxTestExecutionListener
public DisableJmxTestExecutionListener()
afterTestClass
public void afterTestClass(org.springframework.test.context.TestContext testContext)
throws Exception
- Specified by:
afterTestClass
in interface org.springframework.test.context.TestExecutionListener
- Overrides:
afterTestClass
in class org.springframework.test.context.support.AbstractTestExecutionListener
- Throws:
Exception
Apache Camel