src/main/java/org/lazydog/mbean/utility/MBeanUtility.java
public static <T> T getMBean(Class<T> interfaceClass, Properties environment) throws MBeanException {
        return getMBean(interfaceClass, getObjectName(interfaceClass), environment);
    }
public static <T> T getMBean(Class<T> interfaceClass, Properties environment) throws MBeanException {
        return getMBean(interfaceClass, getObjectName(interfaceClass), environment);
    }
Get the MBean represented by the interface class.  The object name is
set to the object name returned by the getObjectName(Class interfaceClass) method.

@param  interfaceClass  the MBean interface class.
@param  environment     the JMX environment properties.

@return  the MBean.

@throws  MBeanException  if unable to get the MBean.