|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jabb.jetty.ServerHelper
public class ServerHelper
Helper for managing Jetty Server.
| Field Summary | |
|---|---|
protected org.eclipse.jetty.server.Server |
server
The Jetty Server |
| Constructor Summary | |
|---|---|
ServerHelper()
Constructor with no Jetty Server specified. |
|
ServerHelper(org.eclipse.jetty.server.Server svr)
Constructor with Jetty Server specified. |
|
| Method Summary | |
|---|---|
org.eclipse.jetty.server.Server |
getServer()
|
boolean |
isRunning()
|
void |
setServer(org.eclipse.jetty.server.Server server)
|
void |
start()
RuntimeException will be thrown if the server failed to start. |
void |
stop()
RuntimeException will be thrown if the server failed to stop. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.jetty.server.Server server
| Constructor Detail |
|---|
public ServerHelper()
public ServerHelper(org.eclipse.jetty.server.Server svr)
svr - The Jetty Server that will be associated with ServerHelper.| Method Detail |
|---|
public org.eclipse.jetty.server.Server getServer()
public void setServer(org.eclipse.jetty.server.Server server)
public boolean isRunning()
isRunning in interface org.springframework.context.LifecycleLifecycle.isRunning()public void start()
start in interface org.springframework.context.LifecycleLifecycle.start()public void stop()
stop in interface org.springframework.context.LifecycleLifecycle.stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||