}
@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){
AiravataAPI registry = ((JCRComponentRegistry)componentRegistry).getAiravataAPI();