@Override
public void registerMBean(Object mBean, String mBeanName) throws JMException {
try {
server.registerMBean(mBean, createObjectName(mBeanName));
} catch (InstanceAlreadyExistsException e) {
throw new JMException(e);
} catch (MBeanRegistrationException e) {
throw new JMException(e);
} catch (NotCompliantMBeanException e) {
throw new JMException(e);
}
}