|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.adaptors.html.HtmlAdaptorServerImpl
public class HtmlAdaptorServerImpl
This class plugs in the Tomcat WebServer to the HtmlAdaptor.
HttpServerInterface| Field Summary | |
|---|---|
(package private) TomcatServer |
server
|
| Constructor Summary | |
|---|---|
HtmlAdaptorServerImpl()
Primary constructor for the HtmlAdaptorServerImpl. |
|
HtmlAdaptorServerImpl(boolean isJarFile)
Secondary constructor for the HtmlAdaptorServerImpl. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConfigFileName()
Getter for the configFileName. |
void |
restartHttpServer()
Restarts the WebServer. |
void |
setConfigFileName(java.lang.String configFileName)
Setter for the configuration file Name with location. |
void |
setPort(int port)
set the port of the WebServer. |
void |
startHttpServer()
Starts the HttpServer - Tomcat WebServer. |
void |
stopHttpServer()
Stops the WebServer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
TomcatServer server
| Constructor Detail |
|---|
public HtmlAdaptorServerImpl()
HtmlAdaptorServerImpl(boolean isJarFile)public HtmlAdaptorServerImpl(boolean isJarFile)
HtmlAdaptorServerImpl()| Method Detail |
|---|
public void setConfigFileName(java.lang.String configFileName)
setConfigFileName in interface HttpServerInterfaceconfigFileName - The configuration file name with path.public java.lang.String getConfigFileName()
getConfigFileName in interface HttpServerInterface
public void startHttpServer()
throws java.lang.Exception
startHttpServer in interface HttpServerInterfacejava.lang.Exception - on error while starting WebServer.stopHttpServer()
public void stopHttpServer()
throws java.lang.Exception
stopHttpServer in interface HttpServerInterfacejava.lang.Exception - on error while stopping WebServer.
public void restartHttpServer()
throws java.lang.Exception
restartHttpServer in interface HttpServerInterfacejava.lang.Exception - while error trying to restart the WebServerpublic void setPort(int port)
setPort in interface HttpServerInterfacejava.lang.Exception - while error trying to restart the WebServer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||