org.apache.accumulo.start.classloader
public class AccumuloClassLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCUMULO_CLASSPATH_VALUE |
static String |
CLASSPATH_PROPERTY_NAME |
Constructor and Description |
---|
AccumuloClassLoader() |
Modifier and Type | Method and Description |
---|---|
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;
|
static ClassLoader |
getClassLoader() |
static String |
replaceEnvVars(String classpath,
Map<String,String> env)
Replace environment variables in the classpath string with their actual value
|
public static final String CLASSPATH_PROPERTY_NAME
public static final String ACCUMULO_CLASSPATH_VALUE
public static String getAccumuloString(String propertyName, String defaultValue)
propertyName
- Name of the property to pulldefaultValue
- Value to default to if not found.public static String replaceEnvVars(String classpath, Map<String,String> env)
public static ClassLoader getClassLoader() throws IOException
IOException
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.