org.apache.accumulo.start.classloader.vfs
Class ContextManager
java.lang.Object
org.apache.accumulo.start.classloader.vfs.ContextManager
public class ContextManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setContextConfig
public void setContextConfig(ContextManager.ContextsConfig config)
- configuration must be injected for ContextManager to work
- Parameters:
config
-
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
removeUnusedContexts
public void removeUnusedContexts(Set<String> inUse)
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.