Class TckMBeanServerBuilder
- java.lang.Object
-
- javax.management.MBeanServerBuilder
-
- org.cache2k.jcache.provider.tckGlue.TckMBeanServerBuilder
-
public class TckMBeanServerBuilder extends MBeanServerBuilder
A tricky MBean server builder which produces an mbean server with id "TckMBeanServer" for any requested server. The platform MBean server becomes available under this name, too, which allows as to pass JCache TCK version 1.0 and hopefully TCK version 1.1.Ideally this class is redundant for TCK version 1.1 onwards.
- Author:
- Jens Wilke
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TckMBeanServerBuilder.WrapperMBeanServerDelegate
-
Constructor Summary
Constructors Constructor Description TckMBeanServerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MBeanServer
newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate)
MBeanServerDelegate
newMBeanServerDelegate()
-
-
-
Method Detail
-
newMBeanServerDelegate
public MBeanServerDelegate newMBeanServerDelegate()
- Overrides:
newMBeanServerDelegate
in classMBeanServerBuilder
-
newMBeanServer
public MBeanServer newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate)
- Overrides:
newMBeanServer
in classMBeanServerBuilder
-
-