|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jetty.osgi.boot.internal.serverfactory.JettyServersManagedFactory
public class JettyServersManagedFactory
This is a work in progress.
In particular there is a lot of work required during the update of the
configuration of a server. It might not be practical to in fact support that
and re-deploy the webapps in the same state than before the server was
stopped.
jetty servers are managed as OSGi services registered here. try to find out if a configuration will fail (ports already opened etc).
Try to enable the creation and configuration of jetty servers in all the usual standard ways. The configuration of the server is defined by the properties passed to the service:
Field Summary | |
---|---|
static String |
JETTY_CONFIG_XML
key to configure the server according to a jetty.xml file |
static String |
JETTY_FACTORY
invoke jetty-factory class. |
static String |
JETTY_HOME
key to configure the server according to a jetty home folder. |
static String |
JETTY_HTTP_PORT
default property in jetty.xml that is used as the value of the http port. |
static String |
JETTY_HTTPS_PORT
default property in jetty.xml that is used as the value of the https port. |
Constructor Summary | |
---|---|
JettyServersManagedFactory()
|
Method Summary | |
---|---|
void |
deleted(String pid)
|
String |
getName()
Return a descriptive name of this factory. |
void |
updated(String pid,
Dictionary properties)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JETTY_HOME
public static final String JETTY_CONFIG_XML
public static final String JETTY_FACTORY
public static final String JETTY_HTTP_PORT
public static final String JETTY_HTTPS_PORT
Constructor Detail |
---|
public JettyServersManagedFactory()
Method Detail |
---|
public String getName()
getName
in interface org.osgi.service.cm.ManagedServiceFactory
public void updated(String pid, Dictionary properties) throws org.osgi.service.cm.ConfigurationException
updated
in interface org.osgi.service.cm.ManagedServiceFactory
org.osgi.service.cm.ConfigurationException
public void deleted(String pid)
deleted
in interface org.osgi.service.cm.ManagedServiceFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |