|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.pu.container.jee.jetty.holder.JettyHolder
public abstract class JettyHolder
A generic holder that holds a Jetty server and controls its lifecycle. Note,
make not to call start and stop on Server.
| Constructor Summary | |
|---|---|
JettyHolder()
|
|
| Method Summary | |
|---|---|
void |
closeConnectors()
Closes Jetty ports. |
abstract org.eclipse.jetty.server.Server |
getServer()
Returns the jetty server. |
abstract boolean |
isSingleInstance()
Returns true if this is a single instance. |
void |
openConnectors()
Open Jetty ports. |
void |
start()
Start Jetty. |
void |
stop()
Stops Jetty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JettyHolder()
| Method Detail |
|---|
public abstract org.eclipse.jetty.server.Server getServer()
public abstract boolean isSingleInstance()
true if this is a single instance.
public void openConnectors()
throws Exception
Exception
public void closeConnectors()
throws Exception
Exception
public void start()
throws Exception
stop()
Exception
public void stop()
throws Exception
Exception
|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||