public class OortStaticConfigServlet extends OortConfigServlet
This servlet initializes and configures an instance of the Oort
CometD cluster manager with a static list of other Oort comet URLs.
This servlet must be initialized after an instance the CometD servlet
that creates the BayeuxServer instance used by Oort.
This servlet inherits from OortConfigServlet init parameters used
to configure the Oort instance, and adds the following init parameter:
oort.cloud, a comma separated list of the oort.urls
of other known oort CometD cluster managers| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
OORT_CLOUD_PARAM |
LOG, OORT_CHANNELS_PARAM, OORT_ENABLE_ACK_EXTENSION_PARAM, OORT_ENABLE_BINARY_EXTENSION_PARAM, OORT_JSON_CONTEXT_PARAM, OORT_SECRET_PARAM, OORT_URL_PARAM| Constructor | Description |
|---|---|
OortStaticConfigServlet() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
configureCloud(javax.servlet.ServletConfig config,
Oort oort) |
Configures the Oort cloud by establishing connections with other Oort comets.
|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logdoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, init, newOort, provideOortURLpublic static final java.lang.String OORT_CLOUD_PARAM
protected void configureCloud(javax.servlet.ServletConfig config,
Oort oort)
throws java.lang.Exception
OortConfigServletConfigures the Oort cloud by establishing connections with other Oort comets.
Subclasses implement their own strategy to discover and link with other comets.
configureCloud in class OortConfigServletconfig - the servlet configuration to read parameters fromoort - the Oort instance associated with this configuration servletjava.lang.Exception - if the cloud configuration failsCopyright © 2008–2017 The CometD Project. All rights reserved.