void unpublish(GlassfishNamingManager nm) throws NamingException { if( publishedSuccessfully ) { if( cosNaming ) { nm.unpublishCosNamingObject(name); } else { nm.unpublishObject(name); } } else { _logger.log(Level.FINE, "Skipping unpublish of " + name + " because it was " + "never published successfully in the first place"); } }
void unpublish(GlassfishNamingManager nm) throws NamingException { if( publishedSuccessfully ) { if( cosNaming ) { nm.unpublishCosNamingObject(name); } else { nm.unpublishObject(name); } } else { _logger.log(Level.FINE, "Skipping unpublish of " + name + " because it was " + "never published successfully in the first place"); } }