public class TCKMBeanServerBuilder extends MBeanServerBuilder
Implementation note. This class is only required for the TCK, and not during normal runtime. The implementation is taken from the RI, but has been modified that it calls super.newMBeanServer() instead of creating a direct dependency to the Sun/Oracle JDK via a com.sun.* import.
| Modifier and Type | Class and Description |
|---|---|
static class |
TCKMBeanServerBuilder.RIMBeanServerDelegate
A decorator around the MBeanServerDelegate which sets the mBeanServerId
to the value of the
org.jsr107.tck.management.agentId system
property so that the TCK can precisely identify the correct MBeanServer
when running tests. |
| Constructor and Description |
|---|
TCKMBeanServerBuilder()
Empty public constructor as required
|
| Modifier and Type | Method and Description |
|---|---|
MBeanServer |
newMBeanServer(String defaultDomain,
MBeanServer outer,
MBeanServerDelegate delegate) |
newMBeanServerDelegatepublic TCKMBeanServerBuilder()
public MBeanServer newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate)
newMBeanServer in class MBeanServerBuilderCopyright © 2018 trivago. All rights reserved.