public final class JettyService
extends org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
implements org.osgi.util.tracker.BundleTrackerCustomizer, org.osgi.util.tracker.ServiceTrackerCustomizer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PID
PID for configuration of the HTTP service.
|
Constructor and Description |
---|
JettyService(org.osgi.framework.BundleContext context,
org.apache.felix.http.base.internal.DispatcherServlet dispatcher,
org.apache.felix.http.base.internal.EventDispatcher eventDispatcher,
org.apache.felix.http.base.internal.HttpServiceController controller) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event) |
java.lang.Object |
addingService(org.osgi.framework.ServiceReference reference) |
void |
deploy(org.apache.felix.http.jetty.internal.JettyService.Deployment deployment,
org.apache.felix.http.jetty.internal.WebAppBundleContext context) |
void |
lifeCycleStarted(org.eclipse.jetty.util.component.LifeCycle event) |
void |
lifeCycleStopping(org.eclipse.jetty.util.component.LifeCycle event) |
void |
modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
java.lang.Object object) |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service) |
void |
removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
java.lang.Object object) |
void |
removedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service) |
void |
start() |
void |
stop() |
void |
undeploy(org.apache.felix.http.jetty.internal.JettyService.Deployment deployment,
org.apache.felix.http.jetty.internal.WebAppBundleContext context) |
void |
updated(java.util.Dictionary props) |
public static final java.lang.String PID
public JettyService(org.osgi.framework.BundleContext context, org.apache.felix.http.base.internal.DispatcherServlet dispatcher, org.apache.felix.http.base.internal.EventDispatcher eventDispatcher, org.apache.felix.http.base.internal.HttpServiceController controller)
public void start() throws java.lang.Exception
java.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
public void updated(java.util.Dictionary props)
public void deploy(org.apache.felix.http.jetty.internal.JettyService.Deployment deployment, org.apache.felix.http.jetty.internal.WebAppBundleContext context)
public void undeploy(org.apache.felix.http.jetty.internal.JettyService.Deployment deployment, org.apache.felix.http.jetty.internal.WebAppBundleContext context)
public java.lang.Object addingBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event)
addingBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
public void modifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, java.lang.Object object)
modifiedBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
public void removedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, java.lang.Object object)
removedBundle
in interface org.osgi.util.tracker.BundleTrackerCustomizer
public java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
addingService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void modifiedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
modifiedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void removedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
removedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void lifeCycleStarted(org.eclipse.jetty.util.component.LifeCycle event)
lifeCycleStarted
in interface org.eclipse.jetty.util.component.LifeCycle.Listener
lifeCycleStarted
in class org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
public void lifeCycleStopping(org.eclipse.jetty.util.component.LifeCycle event)
lifeCycleStopping
in interface org.eclipse.jetty.util.component.LifeCycle.Listener
lifeCycleStopping
in class org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Copyright © 2006-2015 The Apache Software Foundation. All Rights Reserved.