infoRegistry.put(gbeanInstance.getAbstractName(), gbeanInstance);
gbeanInstance.setInstanceRegistry(this);
}
public synchronized void unregister(AbstractName abstractName) throws GBeanNotFoundException {
GBeanInstance gbeanInstance = (GBeanInstance) infoRegistry.remove(abstractName);
if (gbeanInstance == null) {
throw new GBeanNotFoundException(abstractName);
}
objectNameRegistry.remove(gbeanInstance.getObjectNameObject());
}