|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJettyConsoleBootstrapMainClass
public class JettyConsoleBootstrapMainClass
The purpose of this class is to be the Main-Class of a JAR file.
On startup, the class will extract the "real" application by extracing the jar files
in /META-INF/jettyconsole/lib into a temporary directory, setting up a class loader
and executing the JettyConsoleStarter's main method.
On shutdown, this class will remove the temporatily extracted jar files.
| Constructor Summary | |
|---|---|
JettyConsoleBootstrapMainClass()
|
|
| Method Summary | |
|---|---|
File |
getWarLocation()
Return a File pointing to the location of the Jar file this Main method is executed from. |
static void |
main(String[] arguments)
Create an instance of Main and invoke the run() method. |
void |
run()
Delete the temporary directory on shutdown. |
static void |
start(String[] arguments)
|
static void |
stop(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JettyConsoleBootstrapMainClass()
| Method Detail |
|---|
public static void start(String[] arguments)
throws Exception
Exceptionpublic static void stop(String[] args)
public static void main(String[] arguments)
throws Exception
run() method.
arguments -
Exceptionpublic void run()
run in interface Runnablepublic File getWarLocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||