org.apache.accumulo.start.classloader.vfs
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> inUse) |
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.FileSystemException
public <U> Class<? extends U> loadClass(String context, String classname, Class<U> extension) throws ClassNotFoundException
ClassNotFoundException
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.