Package | Description |
---|---|
org.openmrs.module |
OpenMRS Module classes
|
Modifier and Type | Field and Description |
---|---|
protected static Map<Module,ModuleClassLoader> |
ModuleFactory.moduleClassLoaders |
Modifier and Type | Method and Description |
---|---|
static ModuleClassLoader |
ModuleFactory.getModuleClassLoader(Module mod)
Get a module's classloader
|
static ModuleClassLoader |
ModuleFactory.getModuleClassLoader(String moduleId)
Get a module's classloader via the module id
|
Modifier and Type | Method and Description |
---|---|
static Map<Module,ModuleClassLoader> |
ModuleFactory.getModuleClassLoaderMap()
Return all current classloaders keyed on module object
|
static Collection<ModuleClassLoader> |
ModuleFactory.getModuleClassLoaders()
Returns all module classloaders This method will not return null
|
Modifier and Type | Method and Description |
---|---|
protected void |
ModuleClassLoader.checkClassVisibility(Class<?> cls,
ModuleClassLoader requestor)
Checking the given class's visibility in this module
|
protected URL |
ModuleClassLoader.findResource(String name,
ModuleClassLoader requestor,
Set<String> seenModules)
Find a resource (image, file, etc) in the module structure
|
protected void |
ModuleClassLoader.findResources(List<URL> result,
String name,
ModuleClassLoader requestor,
Set<String> seenModules)
Find all occurrences of a resource (image, file, etc) in the module structure
|
protected boolean |
ModuleClassLoader.isResourceVisible(String name,
URL url,
ModuleClassLoader requestor)
Check if the given resource (image, file, etc) is visible by this classloader
|
protected Class<?> |
ModuleClassLoader.loadClass(String name,
boolean resolve,
ModuleClassLoader requestor,
Set<String> seenModules)
Custom loadClass implementation to allow for loading from a given ModuleClassLoader and skip
the modules that have been tried already
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.