Package | Description |
---|---|
org.openmrs.module |
OpenMRS Module classes
|
Modifier and Type | Field and Description |
---|---|
protected static java.util.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(java.lang.String moduleId)
Get a module's classloader via the module id
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<Module,ModuleClassLoader> |
ModuleFactory.getModuleClassLoaderMap()
Return all current classloaders keyed on module object
|
static java.util.Collection<ModuleClassLoader> |
ModuleFactory.getModuleClassLoaders()
Returns all module classloaders This method will not return null
|
static java.util.Set<ModuleClassLoader> |
ModuleFactory.getModuleClassLoadersForPackage(java.lang.String packageName) |
Modifier and Type | Method and Description |
---|---|
protected void |
ModuleClassLoader.checkClassVisibility(java.lang.Class<?> cls,
ModuleClassLoader requestor)
Checking the given class's visibility in this module
|
protected java.net.URL |
ModuleClassLoader.findResource(java.lang.String name,
ModuleClassLoader requestor,
java.util.Set<java.lang.String> seenModules)
Find a resource (image, file, etc) in the module structure
|
protected void |
ModuleClassLoader.findResources(java.util.List<java.net.URL> result,
java.lang.String name,
ModuleClassLoader requestor,
java.util.Set<java.lang.String> seenModules)
Find all occurrences of a resource (image, file, etc) in the module structure
|
protected boolean |
ModuleClassLoader.isResourceVisible(java.lang.String name,
java.net.URL url,
ModuleClassLoader requestor)
Check if the given resource (image, file, etc) is visible by this classloader
|
protected java.lang.Class<?> |
ModuleClassLoader.loadClass(java.lang.String name,
boolean resolve,
ModuleClassLoader requestor,
java.util.Set<java.lang.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 Inc.. All Rights Reserved.