Author: sebb
Date: Thu Apr 22 20:30:34 2010
New Revision: 937046
URL: http://svn.apache.org/viewvc?rev=937046&view=rev
Log:
start() method in JVM mode is supposed to wait for the process to finish
Modified:
commons/proper/daemon/trunk/src/site/xdoc/procrun.xml
Modified: commons/proper/daemon/trunk/src/site/xdoc/procrun.xml
URL:
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/site/xdoc/procrun.xml?rev=937046&r1=937045&r2=937046&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/site/xdoc/procrun.xml (original)
+++ commons/proper/daemon/trunk/src/site/xdoc/procrun.xml Thu Apr 22 20:30:34
2010
@@ -326,8 +326,10 @@ then it is treated the same as <b>--</b>
<td>main</td>
<td>Name of method to be called when service is started.
It must be <code>static void</code> and have argument <code>(String
args[])</code>.
- Only applies to <b>jvm</b> mode.
- In <b>Java</b> mode, the <b>main</b> method is always used.
+ Only applies to <b>jvm</b> mode - in <b>Java</b> mode, the <b>main</b>
method is always used.
+ <br />
+ <b>Note:</b> in <code>jvm</code> mode, the start method should not return
until the stop method
+ has been called.
</td>
</tr>
<tr>