use of org.apache.jena.fuseki.server.DatasetRegistry in project jena by apache.
the class MgtFunctions method getFromRegistry.
private static DatasetRef getFromRegistry(String dataset) {
DatasetRegistry registry = DatasetRegistry.get();
if (registry == null) {
Fuseki.serverLog.warn("No dataset registry");
return null;
}
DatasetRef ref = registry.get(dataset);
if (ref == null)
Fuseki.serverLog.warn("Dataset not found: " + dataset);
return ref;
}
Aggregations