| Package | Description |
|---|---|
| org.ops4j.pax.web.service.spi.model |
SPI model hierarchy contains classes to internally represent all the information
required during registration (adding to running server) of web components (servlets, filters,
welcome files, error pages, security constraints, ...).
|
| org.ops4j.pax.web.service.spi.model.views | |
| org.ops4j.pax.web.service.spi.servlet |
Package with classes used in different runtimes for common tasks, like wrapping
HttpServletRequest. |
| org.ops4j.pax.web.service.spi.servlet.dynamic | |
| org.ops4j.pax.web.service.spi.task |
Package containing tools for batch/transactional operations on Pax Web model and
ServerController. |
| Modifier and Type | Method and Description |
|---|---|
ServletContextModel |
ServerModel.getOrCreateServletContextModel(String contextPath,
Batch batch)
Returns
ServletContextModel uniquely identified by context path (as defined by
ServletContext.getContextPath(). |
ServletContextModel |
ServerModel.getServletContextModel(String contextPath)
Simply returns a
ServletContextModel for given contextPath |
| Modifier and Type | Method and Description |
|---|---|
ServletContextModel |
WebAppWebContainerView.getServletContext(org.osgi.framework.Bundle wab,
String contextPath)
After
WebAppWebContainerView.allocateContext(Bundle, String) has returned true, we can use this method to get
ServletContextModel for our WAB. |
| Modifier and Type | Method and Description |
|---|---|
ServletContextModel |
OsgiServletContext.getServletContextModel() |
| Constructor and Description |
|---|
OsgiServletContext(javax.servlet.ServletContext containerServletContext,
OsgiContextModel osgiContextModel,
ServletContextModel servletContextModel,
javax.servlet.SessionCookieConfig defaultSessionCookieConfig,
ClassLoader loader)
Constructor called when
OsgiContextModel is passed to given
ServerController. |
| Constructor and Description |
|---|
DynamicServletRegistration(ServletModel model,
OsgiContextModel osgiContextModel,
ServletContextModel servletContextModel,
DynamicRegistrations regs) |
| Modifier and Type | Method and Description |
|---|---|
ServletContextModel |
ServletContextModelChange.getServletContextModel() |
ServletContextModel |
OsgiContextModelChange.getServletContextModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.addOsgiContextModel(OsgiContextModel osgiContextModel,
ServletContextModel servletContextModel)
Add new
OsgiContextModel |
void |
Batch.addServletContextModel(ServletContextModel servletContextModel)
Add new
ServletContextModel |
| Constructor and Description |
|---|
OsgiContextModelChange(OpCode op,
org.ops4j.pax.web.service.WebContainerContext context,
OsgiContextModel osgiContextModel,
ServletContextModel servletContextModel) |
ServletContextModelChange(OpCode op,
ServletContextModel servletContextModel) |
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.