public class RestartHandler extends java.lang.Object implements Handler
NOTES:
sun.misc.Signal*
classes are used.
Properties:
Constructor and Description |
---|
RestartHandler() |
public boolean init(Server server, java.lang.String prefix)
Handler
init
in interface Handler
server
- The HTTP server that created this Handler
.
Typical Handler
s will use Server.props
to obtain run-time configuration information.prefix
- The handlers name.
The string this Handler
may prepend to all
of the keys that it uses to extract configuration information
from Server.props
. This is set (by the Server
and ChainHandler
) to help avoid configuration parameter
namespace collisions.true
if this Handler
initialized
successfully, false
otherwise. If
false
is returned, this Handler
should not be used.