All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gridkit.nimble.probe.jmx.LocalMBeanConnector Maven / Gradle / Ivy

package org.gridkit.nimble.probe.jmx;

import java.io.Serializable;
import java.lang.management.ManagementFactory;
import java.util.Collection;
import java.util.Collections;

import javax.management.MBeanServerConnection;

public class LocalMBeanConnector implements MBeanConnector, Serializable {

	private static final long serialVersionUID = 20121023;

	@Override
	public Collection connect() {
		MBeanServerConnection connection = ManagementFactory.getPlatformMBeanServer();
		return Collections.singleton(connection);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy