public class ContextFactory extends Object
Constructor and Description |
---|
ContextFactory(com.mirth.connect.server.util.javascript.MirthContextFactory delegate)
Instantiates a new ContextFactory object.
|
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getClassLoader()
Returns the application classloader that the current JavaScript context is using.
|
ClassLoader |
getIsolatedClassLoader()
Returns a classloader containing only the libraries contained in the custom resources, with
no parent classloader.
|
Set<String> |
getResourceIds()
Returns the set of custom resource IDs that the current JavaScript context is using.
|
public ContextFactory(com.mirth.connect.server.util.javascript.MirthContextFactory delegate)
delegate
- The underlying ContextFactory this class will delegate to.public Set<String> getResourceIds()
public ClassLoader getClassLoader()
public ClassLoader getIsolatedClassLoader()