org.apache.accumulo.start.classloader
Class AccumuloClassLoader
java.lang.Object
org.apache.accumulo.start.classloader.AccumuloClassLoader
public class AccumuloClassLoader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSPATH_PROPERTY_NAME
public static final String CLASSPATH_PROPERTY_NAME
- See Also:
- Constant Field Values
ACCUMULO_CLASSPATH_VALUE
public static final String ACCUMULO_CLASSPATH_VALUE
- See Also:
- Constant Field Values
AccumuloClassLoader
public AccumuloClassLoader()
getAccumuloString
public static String getAccumuloString(String propertyName,
String defaultValue)
- Looks for the site configuration file for Accumulo and if it has a property for propertyName return it otherwise returns defaultValue Should throw an
exception if the default configuration can not be read;
- Parameters:
propertyName
- Name of the property to pulldefaultValue
- Value to default to if not found.
- Returns:
- site or default class path String
replaceEnvVars
public static String replaceEnvVars(String classpath,
Map<String,String> env)
- Replace environment variables in the classpath string with their actual value
- Parameters:
classpath
- env
-
getClassLoader
public static ClassLoader getClassLoader()
throws IOException
- Throws:
IOException
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.