Registers the JndiMBean.
try {
if (server.isRegistered(objectName)) {
logger.fine(sm.getString("monitor.jndi.already_registered",
new Object[] {objectName.toString()}));
return;
}
server.registerMBean(new JndiMBeanImpl(), objectName);
logger.finer(sm.getString("monitor.jndi.registered",
new Object[]{objectName.toString()}));
} catch(Exception e) {
logger.fine(sm.getString("monitor.jndi.register_exception",
new Object[]{objectName}));
logger.throwing(JndiMBeanManager.class.getName(),
"registerMBean()", e);
}