public class HWIServer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
l4j |
| Constructor and Description |
|---|
HWIServer(java.lang.String[] args) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
void |
start()
This method initialized the internal Jetty Servlet Engine.
|
void |
stop()
Shut down the running HWI Server.
|
public HWIServer(java.lang.String[] args)
throws java.io.IOException
args - These are the command line arguments. Usually -hiveconf.java.io.IOExceptionpublic void start()
throws java.io.IOException
java.io.IOException - Port already in use, bad bind etc.public static void main(java.lang.String[] args)
throws java.lang.Exception
args - as of now no arguments are supportedjava.lang.Exception - Could be thrown if due to issues with Jetty or bad configuration
optionspublic void stop()
throws java.lang.Exception
java.lang.Exception - Running Thread.stop() can and probably will throw thisCopyright © 2012 The Apache Software Foundation