public class ContextManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContextManager.ContextConfig |
static interface |
ContextManager.ContextsConfig |
static class |
ContextManager.DefaultContextsConfig |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader(String contextName) |
<U> Class<? extends U> |
loadClass(String context,
String classname,
Class<U> extension) |
void |
removeUnusedContexts(Set<String> configuredContexts) |
void |
setContextConfig(ContextManager.ContextsConfig config)
configuration must be injected for ContextManager to work
|
public void setContextConfig(ContextManager.ContextsConfig config)
public ClassLoader getClassLoader(String contextName) throws org.apache.commons.vfs2.FileSystemException
org.apache.commons.vfs2.FileSystemExceptionpublic <U> Class<? extends U> loadClass(String context, String classname, Class<U> extension) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.