src/main/java/org/lazydog/mbean/utility/MBeanUtility.java
public static <T> T getMBean(Class<T> interfaceClass, ObjectName objectName, Properties environment) throws MBeanException {
        return RemoteMBeanInvocationHandler.getMBean(interfaceClass, objectName, environment);
    }
public static <T> T getMBean(Class<T> interfaceClass, ObjectName objectName, Properties environment) throws MBeanException {
        return RemoteMBeanInvocationHandler.getMBean(interfaceClass, objectName, environment);
    }
Get the MBean represented by the interface class and object name.

@param  interfaceClass  the MBean interface class.
@param  objectName      the MBean object name.
@param  environment     the JMX environment properties.

@return  the MBean.

@throws  MBeanException  if unable to get the MBean.