org.eclipse.jetty.osgi.boot.internal.serverfactory
Class ServerInstanceWrapper
java.lang.Object
org.eclipse.jetty.osgi.boot.internal.serverfactory.ServerInstanceWrapper
public class ServerInstanceWrapper
- extends Object
Exposes a Jetty Server to be managed by an OSGi ManagedServiceFactory
Configure and start it.
Can also be used from the ManagedServiceFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerInstanceWrapper
public ServerInstanceWrapper(String managedServerName)
getManagedServerName
public String getManagedServerName()
getParentClassLoaderForWebapps
public ClassLoader getParentClassLoaderForWebapps()
- The classloader that should be the parent classloader for
each webapp deployed on this server.
- Returns:
getDeploymentManager
public DeploymentManager getDeploymentManager()
- Returns:
- The deployment manager registered on this server.
getOSGiAppProvider
public OSGiAppProvider getOSGiAppProvider()
- Returns:
- The app provider registered on this server.
getServer
public Server getServer()
getWebBundleDeployerHelp
public WebBundleDeployerHelper getWebBundleDeployerHelp()
getContextHandlerCollection
public ContextHandlerCollection getContextHandlerCollection()
- Returns:
- The collection of context handlers
start
public void start(Server server,
Dictionary props)
stop
public void stop()
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.