Search in sources :

Example 1 with MBeanServerBuilder

use of javax.management.MBeanServerBuilder in project redisson by redisson.

the class JCacheMBeanServerBuilder method newMBeanServer.

@Override
public MBeanServer newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate) {
    MBeanServerDelegate wrappedDelegate = new JCacheMBeanServerDelegate(delegate);
    MBeanServerBuilder builder = new MBeanServerBuilder();
    return builder.newMBeanServer(defaultDomain, outer, wrappedDelegate);
}
Also used : MBeanServerDelegate(javax.management.MBeanServerDelegate) MBeanServerBuilder(javax.management.MBeanServerBuilder)

Aggregations

MBeanServerBuilder (javax.management.MBeanServerBuilder)1 MBeanServerDelegate (javax.management.MBeanServerDelegate)1