Class AccumuloVFSClassLoader
- java.lang.Object
-
- org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader
-
@Deprecated public class AccumuloVFSClassLoader extends Object
Deprecated.This class builds a hierarchy of Classloaders in the form of:SystemClassLoader that loads JVM classes ^ | AccumuloClassLoader loads jars from locations in general.classpaths. Usually the URLs for HADOOP_HOME, ZOOKEEPER_HOME, ACCUMULO_HOME and their associated directories ^ | VFSClassLoader that loads jars from locations in general.vfs.classpaths. Can be used to load accumulo jar from HDFS ^ | AccumuloReloadingVFSClassLoader That loads jars from locations in general.dynamic.classpaths. Used to load jar dynamically.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccumuloVFSClassLoader.AccumuloVFSClassLoaderShutdownThreadDeprecated.static interfaceAccumuloVFSClassLoader.PrinterDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_DYNAMIC_CLASSPATH_VALUEDeprecated.static StringDYNAMIC_CLASSPATH_PROPERTY_NAMEDeprecated.static StringVFS_CACHE_DIRDeprecated.static StringVFS_CLASSLOADER_SYSTEM_CLASSPATH_PROPERTYDeprecated.static StringVFS_CONTEXT_CLASSPATH_PROPERTYDeprecated.
-
Constructor Summary
Constructors Constructor Description AccumuloVFSClassLoader()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidclose()Deprecated.static org.apache.commons.vfs2.FileSystemManagergenerateVfs()Deprecated.static ClassLoadergetClassLoader()Deprecated.static StringgetClassPath(boolean debug)Deprecated.static ClassLoadergetContextClassLoader(String contextName)Deprecated.static voidprintClassPath(boolean debug)Deprecated.static voidprintClassPath(AccumuloVFSClassLoader.Printer out, boolean debug)Deprecated.static voidremoveUnusedContexts(Set<String> contextsInUse)Deprecated.static voidsetContextConfig(Supplier<Map<String,String>> contextConfigSupplier)Deprecated.
-
-
-
Field Detail
-
DYNAMIC_CLASSPATH_PROPERTY_NAME
public static final String DYNAMIC_CLASSPATH_PROPERTY_NAME
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_DYNAMIC_CLASSPATH_VALUE
public static final String DEFAULT_DYNAMIC_CLASSPATH_VALUE
Deprecated.- See Also:
- Constant Field Values
-
VFS_CLASSLOADER_SYSTEM_CLASSPATH_PROPERTY
public static final String VFS_CLASSLOADER_SYSTEM_CLASSPATH_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
VFS_CONTEXT_CLASSPATH_PROPERTY
public static final String VFS_CONTEXT_CLASSPATH_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
VFS_CACHE_DIR
public static final String VFS_CACHE_DIR
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getClassLoader
public static ClassLoader getClassLoader()
Deprecated.
-
generateVfs
public static org.apache.commons.vfs2.FileSystemManager generateVfs() throws org.apache.commons.vfs2.FileSystemExceptionDeprecated.- Throws:
org.apache.commons.vfs2.FileSystemException
-
printClassPath
public static void printClassPath(boolean debug)
Deprecated.
-
getClassPath
public static String getClassPath(boolean debug)
Deprecated.
-
printClassPath
public static void printClassPath(AccumuloVFSClassLoader.Printer out, boolean debug)
Deprecated.
-
setContextConfig
public static void setContextConfig(Supplier<Map<String,String>> contextConfigSupplier)
Deprecated.
-
removeUnusedContexts
public static void removeUnusedContexts(Set<String> contextsInUse)
Deprecated.
-
getContextClassLoader
public static ClassLoader getContextClassLoader(String contextName)
Deprecated.
-
close
public static void close()
Deprecated.
-
-