public class PaxWebIntegrationService extends Object
It assumes that pax-web WebContainer
is used as implementation of OSGI HttpService
, which
is true in karaf/fuse environment
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
log |
Constructor and Description |
---|
PaxWebIntegrationService() |
Modifier and Type | Method and Description |
---|---|
protected void |
addConstraintMapping(org.ops4j.pax.web.service.WebContainer service,
PaxWebSecurityConstraintMapping cm) |
protected org.ops4j.pax.web.service.WebContainer |
addingWebContainerCallback(org.osgi.framework.ServiceReference webContainerServiceReference) |
org.osgi.framework.BundleContext |
getBundleContext() |
List<PaxWebSecurityConstraintMapping> |
getConstraintMappings() |
protected org.osgi.service.http.HttpContext |
getHttpContext() |
protected org.osgi.util.tracker.ServiceTracker |
getWebContainerTracker() |
protected void |
removingWebContainerCallback(org.osgi.framework.ServiceReference serviceReference) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setConstraintMappings(List<PaxWebSecurityConstraintMapping> constraintMappings) |
void |
setHttpContext(org.osgi.service.http.HttpContext httpContext) |
void |
start() |
void |
stop() |
public org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public List<PaxWebSecurityConstraintMapping> getConstraintMappings()
public void setConstraintMappings(List<PaxWebSecurityConstraintMapping> constraintMappings)
protected org.osgi.util.tracker.ServiceTracker getWebContainerTracker()
protected org.osgi.service.http.HttpContext getHttpContext()
public void setHttpContext(org.osgi.service.http.HttpContext httpContext)
public void start()
public void stop()
protected org.ops4j.pax.web.service.WebContainer addingWebContainerCallback(org.osgi.framework.ServiceReference webContainerServiceReference)
protected void addConstraintMapping(org.ops4j.pax.web.service.WebContainer service, PaxWebSecurityConstraintMapping cm)
protected void removingWebContainerCallback(org.osgi.framework.ServiceReference serviceReference)
Copyright © 2021 JBoss by Red Hat. All rights reserved.