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() |
runbasicRun, countTestCases, getTest, toStringassertEquals, 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, formatprivate 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.TestSetupjava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.extensions.TestSetupjava.lang.Exceptionprivate javax.management.remote.JMXServiceURL getJmxUrl()
throws java.net.MalformedURLException
java.net.MalformedURLException - if the URL is malformedApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.