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 classContextManager.ContextConfigstatic interfaceContextManager.ContextsConfigstatic classContextManager.DefaultContextsConfig
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoadergetClassLoader(String contextName)<U> Class<? extends U>loadClass(String context, String classname, Class<U> extension)voidremoveUnusedContexts(Set<String> configuredContexts)voidsetContextConfig(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
-
-