Uses of Interface
org.hl7.fhir.r5.context.IContextResourceLoader
-
Uses of IContextResourceLoader in org.hl7.fhir.r5.context
Modifier and TypeMethodDescriptionIContextResourceLoader.getNewLoader
(org.hl7.fhir.utilities.npm.NpmPackage npm) called when a new package is being loaded this is called by loadPackageAndDependencies when a new package is loadedIContextResourceLoader.setLoadProfiles
(boolean value) set this to false (default is true) if you don't want profiles loadedModifier and TypeMethodDescriptionSimpleWorkerContext.SimpleWorkerContextBuilder.fromDefinitions
(Map<String, org.hl7.fhir.utilities.ByteProvider> source, IContextResourceLoader loader, PackageInformation pi) SimpleWorkerContext.SimpleWorkerContextBuilder.fromPack
(String path, IContextResourceLoader loader) SimpleWorkerContext.SimpleWorkerContextBuilder.fromPackage
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, boolean genSnapshots) void
SimpleWorkerContext.loadFromFile
(InputStream stream, String name, IContextResourceLoader loader) void
SimpleWorkerContext.loadFromFile
(InputStream stream, String name, IContextResourceLoader loader, SimpleWorkerContext.ILoadFilter filter) void
SimpleWorkerContext.loadFromFile
(String file, IContextResourceLoader loader) int
IWorkerContext.loadFromPackage
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader) Load relevant resources of the appropriate types (as specified by the loader) from the nominated package note that the package system uses lazy loading; the loader will be called later when the classes that use the context need the relevant resourceint
IWorkerContext.loadFromPackage
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, List<String> types) Deprecated.int
SimpleWorkerContext.loadFromPackage
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader) int
SimpleWorkerContext.loadFromPackage
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, List<String> types) int
IWorkerContext.loadFromPackageAndDependencies
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, org.hl7.fhir.utilities.npm.BasePackageCacheManager pcm) Load relevant resources of the appropriate types (as specified by the loader) from the nominated package note that the package system uses lazy loading; the loader will be called later when the classes that use the context need the relevant resource This method also loads all the packages that the package depends on (recursively)int
SimpleWorkerContext.loadFromPackageAndDependencies
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, org.hl7.fhir.utilities.npm.BasePackageCacheManager pcm) int
SimpleWorkerContext.loadFromPackageAndDependenciesInt
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, org.hl7.fhir.utilities.npm.BasePackageCacheManager pcm, String path) int
SimpleWorkerContext.loadFromPackageInt
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, List<String> types) ModifierConstructorDescriptionPackageResourceLoader
(org.hl7.fhir.utilities.npm.NpmPackage.PackageResourceInformation pri, IContextResourceLoader loader, PackageInformation pi) -
Uses of IContextResourceLoader in org.hl7.fhir.r5.hapi.ctx
Modifier and TypeMethodDescriptionint
HapiWorkerContext.loadFromPackage
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader) int
HapiWorkerContext.loadFromPackage
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, List<String> types) int
HapiWorkerContext.loadFromPackageAndDependencies
(org.hl7.fhir.utilities.npm.NpmPackage pi, IContextResourceLoader loader, org.hl7.fhir.utilities.npm.BasePackageCacheManager pcm) -
Uses of IContextResourceLoader in org.hl7.fhir.r5.test.utils
Modifier and TypeMethodDescriptionTestPackageLoader.getNewLoader
(org.hl7.fhir.utilities.npm.NpmPackage npm) TestPackageLoader.setLoadProfiles
(boolean value) Modifier and TypeMethodDescriptionstatic SimpleWorkerContext
TestingUtilities.getWorkerContext
(org.hl7.fhir.utilities.npm.NpmPackage npmPackage, IContextResourceLoader loader)