org.apache.avalon.phoenix.launcher
Class Main
java.lang.Object
|
+--org.apache.avalon.phoenix.launcher.Main
- public final class Main
- extends Object
PhoenixLoader is the class that bootstraps and sets up engine ClassLoader.
It also sets up a default policy that gives full permissions to engine code.
- Author:
- Peter Donald
Constructor Summary |
Main()
|
Method Summary |
static void |
main(String[] args)
Main entry point for Phoenix. |
protected static void |
shutdown()
Method to call to shutdown Phoenix from an
external (calling) application. |
protected static int |
startup(String[] args,
Hashtable data,
boolean blocking)
Method to call to startup Phoenix from an
external (calling) application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
main
public static final void main(String[] args)
throws Exception
- Main entry point for Phoenix.
- Parameters:
args
- the command line arguments- Throws:
Exception
- if an error occurs
startup
protected static final int startup(String[] args,
Hashtable data,
boolean blocking)
throws Exception
- Method to call to startup Phoenix from an
external (calling) application. Protected to allow
access from DaemonLauncher.
- Parameters:
args
- the command line arg arraydata
- a set of extra parameters to pass to embeddorblocking
- false if the current thread is expected to return.- Returns:
- the exit code which should be used to exit the JVM
- Throws:
Exception
- if an error occurs
shutdown
protected static final void shutdown()
- Method to call to shutdown Phoenix from an
external (calling) application. Protected to allow
access from DaemonLauncher.
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.