public class JettyContextHandlerServiceTracker
extends java.lang.Object
implements org.osgi.framework.ServiceListener
ContextHandler is activated as an osgi service we find a jetty deployer
for it. The ContextHandler could be either a WebAppContext or any other derivative of
ContextHandler.
ContextHandlers and WebApps can also be deployed into jetty without creating them as
osgi services. Instead, they can be deployed via manifest headers inside bundles. See
WebBundleTrackerCustomizer.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILTER |
| Constructor and Description |
|---|
JettyContextHandlerServiceTracker() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<org.osgi.framework.ServiceReference,ServiceProvider> |
getDeployers(java.lang.String managedServerName) |
void |
serviceChanged(org.osgi.framework.ServiceEvent ev) |
public JettyContextHandlerServiceTracker()
throws java.lang.Exception
registry - java.lang.Exceptionpublic java.util.Map<org.osgi.framework.ServiceReference,ServiceProvider> getDeployers(java.lang.String managedServerName)
managedServerName - public void serviceChanged(org.osgi.framework.ServiceEvent ev)
serviceChanged in interface org.osgi.framework.ServiceListenerServiceListener.serviceChanged(org.osgi.framework.ServiceEvent)Copyright © 2013 FuseSource, Corp.. All Rights Reserved.