Java MBean getMbeanServerConnection(final JMXConnector jmxConnector)

Here you can find the source of getMbeanServerConnection(final JMXConnector jmxConnector)

Description

get Mbean Server Connection

License

Apache License

Declaration

public static MBeanServerConnection getMbeanServerConnection(final JMXConnector jmxConnector) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.io.IOException;

import javax.management.MBeanServerConnection;

import javax.management.remote.JMXConnector;

public class Main {
    public static MBeanServerConnection getMbeanServerConnection(final JMXConnector jmxConnector) {

        MBeanServerConnection mBeanServerConnection = null;
        if (jmxConnector != null) {
            try {
                mBeanServerConnection = jmxConnector.getMBeanServerConnection();
            } catch (final IOException e) {
                e.printStackTrace();//from   w  ww. j  av  a2s . c  o m
            }
        }
        return mBeanServerConnection;
    }
}

Related

  1. getMBeanServer()
  2. getMBeanServer()
  3. getMBeanServer()
  4. getMBeanServer()
  5. getMBeanServerConnection(final JMXConnector connector)
  6. getMBeanServerConnectionForJMXClient()
  7. getMBeanServerDelegateName()
  8. getMBeanServerId(final MBeanServer aMBeanServer)
  9. getMBeanServerObjectName()