org.mortbay.jetty.win32
Class Service
java.lang.Object
|
+--org.mortbay.jetty.win32.Service
- public class Service
- extends java.lang.Object
Run Jetty as a Win32 service.
System.out and System.err output can be controlled with java
properties: SERVICE_OUT and SERVICE_ERR.
The log file can be controlled with the property SERVICE_LOG_FILE
Example
jettysvc -c -DSERVICE_OUT="./logs/jettysvc.out" \\
-DSERVICE_ERR="./logs/jettysvc.err" \\
Jetty.xml wrkdir=$JETTY_HOME
- Version:
- $Revision: 1.5 $
- Author:
- Greg Wilkins (gregw)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_CONTROL_STOP
public static final int SERVICE_CONTROL_STOP
- See Also:
- Constant Field Values
SERVICE_CONTROL_PAUSE
public static final int SERVICE_CONTROL_PAUSE
- See Also:
- Constant Field Values
SERVICE_CONTROL_CONTINUE
public static final int SERVICE_CONTROL_CONTINUE
- See Also:
- Constant Field Values
SERVICE_CONTROL_INTERROGATE
public static final int SERVICE_CONTROL_INTERROGATE
- See Also:
- Constant Field Values
SERVICE_CONTROL_SHUTDOWN
public static final int SERVICE_CONTROL_SHUTDOWN
- See Also:
- Constant Field Values
SERVICE_CONTROL_PARAMCHANGE
public static final int SERVICE_CONTROL_PARAMCHANGE
- See Also:
- Constant Field Values
dispatchSCMEvent
public static void dispatchSCMEvent(int eventID)
stopAndDestroy
public static void stopAndDestroy(java.lang.String[] arg)
main
public static void main(java.lang.String[] arg)
Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.