* @param context The stop context
*/
public synchronized void stop(StopContext context) {
final NamingStore namingStore = namingStoreValue.getValue();
try {
namingStore.unbind(null, NameParser.INSTANCE.parse(name));
} catch (NamingException e) {
throw new IllegalStateException("Failed to unbind resource from naming store [" + namingStore + "] at location [" + name + "]", e);
}
}