}
@Override
public void update(Observable observable, Object o) {
if ((observable instanceof XBayaConfiguration) && (o instanceof ComponentRegistry)){
ComponentRegistry componentRegistry=(ComponentRegistry)o;
if (observableRegistry!=null){
observableRegistry.deleteObserver(this);
}
if (componentRegistry instanceof JCRComponentRegistry){
AiravataRegistry2 registry = ((JCRComponentRegistry)componentRegistry).getRegistry();