org.apache.camel.test.spring
Class DisableJmxTestExecutionListener

java.lang.Object
  extended by org.springframework.test.context.support.AbstractTestExecutionListener
      extended by 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.


Constructor Summary
DisableJmxTestExecutionListener()
           
 
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
 

Constructor Detail

DisableJmxTestExecutionListener

public DisableJmxTestExecutionListener()
Method Detail

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