if (LOGGER.isLoggable(Level.FINER)) {
LOGGER.log(Level.FINER, "Publishing the object " + jndiName1);
}
Object o1 = OverloadFactoryImpl.newInstance(jndiName1,
org.glassfish.comms.api.overload.OverloadNotifier.class);
namingManager.publishObject(jndiName1, o1, true);
String jndiName2 = OverloadDetectionRegistrar.class.getName();
if (LOGGER.isLoggable(Level.FINER)) {
LOGGER.log(Level.FINER, "Publishing the object " + jndiName2);
}