public void refreshGraphs() throws Exception { Object graph = getPurlDefinedBy(); if (graph != null && !(graph instanceof RemoteGraph)) { ObjectConnection con = getObjectConnection(); RemoteGraph rg = con.addDesignation(graph, RemoteGraph.class); rg.load(getResource().stringValue()); } }