|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.war.WinstoneLauncher
public class WinstoneLauncher
War main class launcher (winstone based). Based on winstone micro container. To use it : java -jar app-xxx.war
| Field Summary | |
|---|---|
protected URI |
serverUri
Server URI. |
protected winstone.Launcher |
winstone
Winstone server instance. |
| Constructor Summary | |
|---|---|
WinstoneLauncher()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
|
protected void |
installSystemTray()
Install system tray to stop server. |
static void |
main(String[] args)
Main method (used by war in manifest). |
void |
mouseClicked(MouseEvent e)
|
void |
mouseEntered(MouseEvent e)
|
void |
mouseExited(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
protected void |
openBrowser()
Open browser. |
protected void |
startServer(String[] args)
Launch servlet container. |
protected void |
stopServer()
Shutdown server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected winstone.Launcher winstone
protected URI serverUri
| Constructor Detail |
|---|
public WinstoneLauncher()
| Method Detail |
|---|
public static void main(String[] args)
throws IOException
args - args
IOException
protected void startServer(String[] args)
throws IOException
args - args
IOExceptionprotected void stopServer()
protected void installSystemTray()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerprotected void openBrowser()
IOExceptionpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||