Registry / web-framework / pax-web-runtime

pax-web-runtime

JSON →
library11.1.0javamavenunverified

OSGi HTTP service and Whiteboard implementation for embedding web containers in OSGi environments.

<dependency> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-runtime</artifactId> <version>11.1.0</version> </dependency>
INSTALL
IMPORT
SIG · PAX-WEB-RUNTIME
P
pax-web-runtime
web-frameworkjavav11.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebContainer
✓ org.ops4j.pax.web.service.WebContainer

Registers a servlet using the Pax Web WebContainer service.

import org.ops4j.pax.web.service.WebContainer; import org.osgi.framework.BundleContext; import org.osgi.framework.ServiceReference; BundleContext context = ...; ServiceReference<WebContainer> ref = context.getServiceReference(WebContainer.class); WebContainer container = context.getService(ref); container.registerServlet("/hello", new HelloServlet(), null, null);
Debug
Known issues
breakingVersion 11.x requires Java 11+ and may have breaking changes from earlier versions.
fix
Ensure your OSGi runtime and dependencies are compatible with Pax Web 11.x.
affects: >=11.0.0
Upgrade
Version history
11.1.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
pax-web-runtime — mvn dependency:get pax-web-runtime · libregistry