|
||||||||||
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
Manages the deployment of jetty server instances. Not sure this is bringing much compared to the JettyServerServiceTracker.
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 | |
---|---|
static void |
createNewServer(org.osgi.framework.Bundle contributor,
String serverName,
String urlsToJettyXml)
Helper method to create and configure a new Jetty Server via the ManagedServiceFactory |
void |
deleted(String pid)
|
String |
getName()
Return a descriptive name of this factory. |
ServerInstanceWrapper |
getServerByPID(String pid)
|
ServerInstanceWrapper |
getServerInstanceWrapper(String managedServerName)
|
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
public ServerInstanceWrapper getServerByPID(String pid)
public ServerInstanceWrapper getServerInstanceWrapper(String managedServerName)
getServerInstanceWrapper
in interface IManagedJettyServerRegistry
managedServerName
- The server name
public static void createNewServer(org.osgi.framework.Bundle contributor, String serverName, String urlsToJettyXml) throws Exception
contributor
- serverName
- urlsToJettyXml
-
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |