public class ServerInstanceWrapper extends Object
Modifier and Type | Field and Description |
---|---|
static 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(String managedServerName) |
Modifier and Type | Method and Description |
---|---|
static void |
addContainerTldBundleDiscoverer(TldBundleDiscoverer tldBundleDiscoverer) |
static Server |
configure(Server server,
List<URL> jettyConfigurations,
Dictionary props) |
static Collection<TldBundleDiscoverer> |
getContainerTldBundleDiscoverers() |
ContextHandlerCollection |
getContextHandlerCollection() |
DeploymentManager |
getDeploymentManager() |
String |
getManagedServerName() |
ClassLoader |
getParentClassLoaderForWebapps()
The classloader that should be the parent classloader for each webapp
deployed on this server.
|
Server |
getServer() |
void |
start(Server server,
Dictionary props) |
void |
stop() |
public static final String PROPERTY_THIS_JETTY_XML_FOLDER_URL
public ServerInstanceWrapper(String managedServerName)
public static void addContainerTldBundleDiscoverer(TldBundleDiscoverer tldBundleDiscoverer)
public static Collection<TldBundleDiscoverer> getContainerTldBundleDiscoverers()
public static Server configure(Server server, List<URL> jettyConfigurations, Dictionary props) throws Exception
Exception
public String getManagedServerName()
public ClassLoader getParentClassLoaderForWebapps()
public DeploymentManager getDeploymentManager()
public Server getServer()
public ContextHandlerCollection getContextHandlerCollection()
public void start(Server server, Dictionary props) throws Exception
Exception
public void stop()
Copyright © 1995-2015 Webtide. All Rights Reserved.