Class ContextManager
- java.lang.Object
-
- org.apache.accumulo.start.classloader.vfs.ContextManager
-
public class ContextManager extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContextManager.ContextConfig
static interface
ContextManager.ContextsConfig
static class
ContextManager.DefaultContextsConfig
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Method Detail
-
setContextConfig
public void setContextConfig(ContextManager.ContextsConfig config)
configuration must be injected for ContextManager to work
-
getClassLoader
public ClassLoader getClassLoader(String contextName) throws org.apache.commons.vfs2.FileSystemException
- Throws:
org.apache.commons.vfs2.FileSystemException
-
loadClass
public <U> Class<? extends U> loadClass(String context, String classname, Class<U> extension) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-