org.exist.start
Class Main
java.lang.Object
org.exist.start.Main
public class Main
- extends Object
- Version:
- $Revision: 10028 $
TODO:
- finish possible jetty.home locations
- use File.toURI.toURL() on JDK 1.4+
- better handling of errors (i.e. when jetty.home cannot be autodetected...)
- include entries from lib _when needed_
- Author:
- Jan Hlavaty (hlavac@code.cz), Wolfgang Meier (meier@ifs.tu-darmstadt.de)
Main
public Main(String mode)
main
public static void main(String[] args)
getMain
public static Main getMain()
- Singleton Factory Method
getMode
public String getMode()
invokeMain
public static void invokeMain(ClassLoader classloader,
String classname,
String[] args)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
ClassNotFoundException
- Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException
ClassNotFoundException
run
public void run(String[] args)
detectHome
public File detectHome()
constructClasspath
public Classpath constructClasspath(File homeDir,
String[] args)
- Parameters:
args
-
shutdown
public void shutdown()
Copyright (C) Wolfgang Meier. All rights reserved.