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

@param  interfaceClass  the MBean interface class.
@param  table           the properties table.

@return  the MBean object name.

@throws  IllegalArgumentException  if the interface class is invalid or
unable to get the MBean object name.
@throws  MBeanException            if unable to register the MBean.