|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.war.WinstoneLauncher
@Deprecated 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 String |
serverName
Deprecated. Server name. |
protected URI |
serverUri
Deprecated. Server URI. |
protected winstone.Launcher |
winstone
Deprecated. Winstone server instance. |
| Constructor Summary | |
|---|---|
WinstoneLauncher()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Deprecated. |
protected void |
installSystemTray()
Deprecated. Install system tray to stop server. |
static void |
main(String[] args)
Deprecated. Main method (used by war in manifest). |
void |
mouseClicked(MouseEvent e)
Deprecated. |
void |
mouseEntered(MouseEvent e)
Deprecated. |
void |
mouseExited(MouseEvent e)
Deprecated. |
void |
mousePressed(MouseEvent e)
Deprecated. |
void |
mouseReleased(MouseEvent e)
Deprecated. |
protected void |
openBrowser()
Deprecated. Open browser. |
protected String |
readAsString(InputStream stream)
Deprecated. Read input stream as string. |
protected void |
readInformation()
Deprecated. Parse WEB-INF/web.xml file and get server display name. |
protected void |
startServer(String[] args)
Deprecated. Launch servlet container. |
protected void |
stopServer()
Deprecated. 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
protected String serverName
| Constructor Detail |
|---|
public WinstoneLauncher()
| Method Detail |
|---|
public static void main(String[] args)
throws IOException
args - args
IOExceptionprotected void readInformation()
protected String readAsString(InputStream stream)
stream - stream to read
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 | |||||||||