public class ServerInstanceWrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_THIS_JETTY_XML_FOLDER_URL
The value of this property points to the parent director of the jetty.xml
configuration file currently executed.
|
Constructor and Description |
---|
ServerInstanceWrapper(java.lang.String managedServerName) |
Modifier and Type | Method and Description |
---|---|
static void |
addContainerTldBundleDiscoverer(TldBundleDiscoverer tldBundleDiscoverer) |
static Server |
configure(Server server,
java.util.List<java.net.URL> jettyConfigurations,
java.util.Dictionary<java.lang.String,java.lang.Object> props) |
static java.util.Collection<TldBundleDiscoverer> |
getContainerTldBundleDiscoverers() |
ContextHandlerCollection |
getContextHandlerCollection() |
DeploymentManager |
getDeploymentManager() |
java.lang.String |
getManagedServerName() |
java.lang.ClassLoader |
getParentClassLoaderForWebapps()
The classloader that should be the parent classloader for each webapp
deployed on this server.
|
Server |
getServer() |
void |
start(Server server,
java.util.Dictionary<java.lang.String,java.lang.Object> props) |
void |
stop() |
public static final java.lang.String PROPERTY_THIS_JETTY_XML_FOLDER_URL
public ServerInstanceWrapper(java.lang.String managedServerName)
public static void addContainerTldBundleDiscoverer(TldBundleDiscoverer tldBundleDiscoverer)
public static java.util.Collection<TldBundleDiscoverer> getContainerTldBundleDiscoverers()
public static Server configure(Server server, java.util.List<java.net.URL> jettyConfigurations, java.util.Dictionary<java.lang.String,java.lang.Object> props) throws java.lang.Exception
java.lang.Exception
public java.lang.String getManagedServerName()
public java.lang.ClassLoader getParentClassLoaderForWebapps()
public DeploymentManager getDeploymentManager()
public Server getServer()
public ContextHandlerCollection getContextHandlerCollection()
public void start(Server server, java.util.Dictionary<java.lang.String,java.lang.Object> props) throws java.lang.Exception
java.lang.Exception
public void stop()
Copyright © 1995–2023 Webtide. All rights reserved.