class JMXConnectionDecorator extends BaseTestSetup
Modifier and Type | Field and Description |
---|---|
private JMXConnectionGetter |
oldGetter |
private boolean |
remote |
Modifier | Constructor and Description |
---|---|
private |
JMXConnectionDecorator(junit.framework.Test test,
boolean remote) |
Modifier and Type | Method and Description |
---|---|
private javax.management.remote.JMXServiceURL |
getJmxUrl()
Creates a URL for connecting to the platform MBean server on the host
specified by the network server hostname of this test configuration.
|
(package private) static junit.framework.Test |
platformMBeanServer(junit.framework.Test test)
Decorate a test to use JMX connections directly from the platform
MBean Server.
|
(package private) static junit.framework.Test |
remoteNoSecurity(junit.framework.Test test)
Decorate a test so to use JMX connections from the passed in url.
|
protected void |
setUp() |
protected void |
tearDown() |
run
basicRun, countTestCases, getTest, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
private final boolean remote
private JMXConnectionGetter oldGetter
private JMXConnectionDecorator(junit.framework.Test test, boolean remote)
static junit.framework.Test remoteNoSecurity(junit.framework.Test test)
static junit.framework.Test platformMBeanServer(junit.framework.Test test)
protected void setUp() throws java.lang.Exception
setUp
in class junit.extensions.TestSetup
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.extensions.TestSetup
java.lang.Exception
private javax.management.remote.JMXServiceURL getJmxUrl() throws java.net.MalformedURLException
java.net.MalformedURLException
- if the URL is malformedApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.