Class LocalTestClient
java.lang.Object
com.adaptris.tester.runtime.clients.JMXTestClient
com.adaptris.tester.runtime.clients.LocalTestClient
- All Implemented Interfaces:
TestClient,Closeable,AutoCloseable
Implementation of
JMXTestClient that uses JmxHelper.findMBeanServer() to get test client.In the service test configuration this class is aliased as embedded-jmx-test-client which is the preferred alternative to the fully qualified classname when building your configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Empty implementationReturnsMBeanServerConnectionusingJmxHelper.findMBeanServer().Methods inherited from class com.adaptris.tester.runtime.clients.JMXTestClient
applyService, init
-
Constructor Details
-
LocalTestClient
public LocalTestClient()
-
-
Method Details
-
initMBeanServerConnection
ReturnsMBeanServerConnectionusingJmxHelper.findMBeanServer().- Specified by:
initMBeanServerConnectionin classJMXTestClient- Returns:
MBeanServerConnectionto be used inJMXTestClient.init(ServiceTestConfig config)
-
close
public void close()Empty implementation- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classJMXTestClient- Throws:
IOException- wrapping any thrown exception (dictated byCloseable.close()
-