Package org.apache.accumulo.start
Class Main
- java.lang.Object
-
- org.apache.accumulo.start.Main
-
public class Main extends Object
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,KeywordExecutable>checkDuplicates(Iterable<? extends KeywordExecutable> services)static voidexecMainClass(Class<?> classWithMain, String[] args)static ClassLoadergetClassLoader()static Map<String,KeywordExecutable>getExecutables(ClassLoader cl)static Class<?>getVFSClassLoader()static Class<?>loadClassFromJar(String[] args, JarFile f, ClassLoader cl)static voidmain(String[] args)static voidprintUsage()static String[]stripArgs(String[] originalArgs, int numToStrip)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
getClassLoader
public static ClassLoader getClassLoader()
-
getVFSClassLoader
public static Class<?> getVFSClassLoader() throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
printUsage
public static void printUsage()
-
getExecutables
public static Map<String,KeywordExecutable> getExecutables(ClassLoader cl)
-
checkDuplicates
public static Map<String,KeywordExecutable> checkDuplicates(Iterable<? extends KeywordExecutable> services)
-
loadClassFromJar
public static Class<?> loadClassFromJar(String[] args, JarFile f, ClassLoader cl) throws ClassNotFoundException, IOException
- Throws:
ClassNotFoundExceptionIOException
-
-