VIVO-773 create and use VitroInterceptingModelMaker

It provides access to the "pseudo-models": UNION_FULL, BASE_FULL, and INFERRED_FULL.
It also intercepts access to the memory-mapped models, returning a reference to the in-memory version.
This commit is contained in:
Jim Blake 2014-05-21 16:07:17 -04:00
parent 216a43de10
commit fc66530304

View file

@ -170,8 +170,6 @@ public class VitroInterceptingModelMaker implements ModelMaker {
ModelAccess.on(ctx).getOntModel(INFERRED_TBOX));
map.put(JENA_APPLICATION_METADATA_MODEL,
ModelAccess.on(ctx).getOntModel(APPLICATION_METADATA));
map.put(,
ModelAccess.on(ctx).getOntModel());
return Collections.unmodifiableMap(map);
}