| Package | Description |
|---|---|
| org.ops4j.pax.web.service.spi |
Main SPI package for Pax Web.
|
| 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.task |
Package containing tools for batch/transactional operations on Pax Web model and
ServerController. |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerController.sendBatch(Batch batch)
Each
ServerController can be instructed to perform Batch of atomic operations. |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerModel.addContainerInitializerModel(ContainerInitializerModel model,
Batch batch) |
void |
ServerModel.addErrorPageModel(ErrorPageModel model,
Batch batch) |
void |
ServerModel.addEventListenerModel(EventListenerModel model,
Batch batch) |
void |
ServerModel.addFilterModel(FilterModel model,
Batch batch)
Validates
FilterModel and adds relevant batch operations if validation is successful. |
void |
ServerModel.addServletModel(ServletModel model,
Batch batch)
Validates
ServletModel and adds relevant batch operations if validation is successful. |
void |
ServerModel.addWebSocketModel(WebSocketModel model,
Batch batch) |
void |
ServerModel.addWelcomeFileModel(WelcomeFileModel model,
Batch batch) |
OsgiContextModel |
ServerModel.getOrCreateOsgiContextModel(org.ops4j.pax.web.service.WebContainerContext context,
org.osgi.framework.Bundle serviceBundle,
String contextPath,
Batch batch)
Returns (new or existing)
OsgiContextModel associated with HttpContext. |
ServletContextModel |
ServerModel.getOrCreateServletContextModel(String contextPath,
Batch batch)
Returns
ServletContextModel uniquely identified by context path (as defined by
ServletContext.getContextPath(). |
void |
ServerModel.registerOsgiContextModelIfNeeded(OsgiContextModel contextModel,
ServiceModel serviceModel,
Batch batch)
Ensures that
OsgiContextModel created and managed in pax-web-extender-whiteboard and passed together
with ElementModel is correctly registered in this ServerModel and passed to
ServerController. |
void |
ServerModel.removeErrorPageModels(List<ErrorPageModel> models,
Batch batch) |
void |
ServerModel.removeEventListenerModels(List<EventListenerModel> models,
Batch batch) |
void |
ServerModel.removeFilterModels(List<FilterModel> models,
Batch batch) |
void |
ServerModel.removeServletModels(List<ServletModel> models,
Batch batch)
Adds relevant batch operations related to unregistration of
servlet models. |
void |
ServerModel.removeWebSocketModels(List<WebSocketModel> models,
Batch batch) |
void |
ServerModel.removeWelcomeFileModel(WelcomeFileModel model,
Batch batch) |
void |
ServiceModel.reRegisterWebElementsIfNeeded(OsgiContextModel oldContext,
OsgiContextModel newContext,
Batch batch)
Fragile method that should check all the web elements registered into this
ServiceModel but only
if these elements were NOT registered through Whiteboard and were registered using oldContext. |
void |
ServerModel.unregisterOsgiContextModel(OsgiContextModel contextModel,
ServiceModel serviceModel,
Batch batch)
Called through
WhiteboardWebContainerView when the
OsgiContextModel managed in pax-web-extender-whiteboard should be removed from the target
ServerController and unassociated from any bundle. |
| Modifier and Type | Method and Description |
|---|---|
void |
WebAppWebContainerView.sendBatch(Batch batch)
Pax Web Extender WAR assembles a "web application" using many different sources (
web.xml, fragments,
annotations, ...). |
| Modifier and Type | Method and Description |
|---|---|
Batch |
Batch.uninstall(String description)
A
Batch can create the uninstallation batch consisting of all the operations reversed. |
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.