|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JettyHolder
A generic holder that holds a Jetty server and controls its lifecycle. Note,
make not to call start and stop on Server.
| Method Summary | |
|---|---|
void |
closeConnectors()
Closes Jetty ports. |
org.eclipse.jetty.server.Server |
getServer()
Returns the jetty server. |
boolean |
isSingleInstance()
Returns true if this is a single instance. |
void |
openConnectors()
Open Jetty ports. |
void |
start()
Start Jetty. |
void |
stop()
Stops Jetty. |
| Method Detail |
|---|
void openConnectors()
throws Exception
Exception
void closeConnectors()
throws Exception
Exception
void start()
throws Exception
stop()
Exception
void stop()
throws Exception
Exceptionorg.eclipse.jetty.server.Server getServer()
boolean isSingleInstance()
true if this is a single instance.
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||