public class JettyContextHandlerServiceTracker extends 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
.Constructor and Description |
---|
JettyContextHandlerServiceTracker() |
Modifier and Type | Method and Description |
---|---|
Map<org.osgi.framework.ServiceReference,ServiceProvider> |
getDeployers(String managedServerName) |
void |
serviceChanged(org.osgi.framework.ServiceEvent ev) |
public static final String FILTER
public Map<org.osgi.framework.ServiceReference,ServiceProvider> getDeployers(String managedServerName)
managedServerName
- public void serviceChanged(org.osgi.framework.ServiceEvent ev)
serviceChanged
in interface org.osgi.framework.ServiceListener
ServiceListener.serviceChanged(org.osgi.framework.ServiceEvent)
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.