| 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.elements |
Model subpackage representing actual web elements, while infrastructure elements
(like contexts) are kept in the package above.
|
| org.ops4j.pax.web.service.spi.util | |
| org.ops4j.pax.web.service.spi.whiteboard |
| Modifier and Type | Method and Description |
|---|---|
Set<ElementModel<?,?>> |
ServerModel.getFailedWhiteboardElements() |
| Modifier and Type | Class and Description |
|---|---|
class |
ContainerInitializerModel
Model for
ServletContainerInitializer. |
class |
ErrorPageModel |
class |
EventListenerModel |
class |
FilterModel
Set of parameters describing everything that's required to register a
Filter. |
class |
JspModel |
class |
SecurityConfigurationModel
Single configuration class for 3 top-level elements of
web.xml:
<login-config> (1 per context):
org.eclipse.jetty.security.SecurityHandler#setRealmName() + few others
org.apache.catalina.Context#setLoginConfig()
io.undertow.servlet.api.DeploymentInfo#setLoginConfig()
<security-constraint> (N per context):
org.eclipse.jetty.security.ConstraintAware#addConstraintMapping()
org.apache.catalina.Context#addConstraint()
io.undertow.servlet.api.DeploymentInfo#addSecurityConstraint()
<security-role> (N per context):
org.eclipse.jetty.security.ConstraintSecurityHandler#setRoles()
org.apache.catalina.Context#addSecurityRole()
io.undertow.servlet.api.DeploymentInfo#addSecurityRole()
|
class |
ServletModel
Set of parameters describing everything that's required to register a
Servlet. |
class |
WebSocketModel
Set of parameters describing everything that's required to register a WebSocket endpoint according to JSR-356.
|
class |
WelcomeFileModel |
| Modifier and Type | Method and Description |
|---|---|
int |
FilterModel.compareTo(ElementModel<javax.servlet.Filter,FilterEventData> o) |
int |
ServletModel.compareTo(ElementModel<javax.servlet.Servlet,ServletEventData> o) |
int |
ElementModel.compareTo(ElementModel<T,D> o)
Returns negative value if this element is "lesser" than the argument, which means it should have higher
priority.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Utils.useSameContextPath(ElementModel<?,?> model1,
ElementModel<?,?> model2)
Returns
true if two elements models use at least one OsgiContextModel referring to the same
cotext path. |
static boolean |
Utils.useSameContextPath(ElementModel<?,?> model1,
ElementModel<?,?> model2)
Returns
true if two elements models use at least one OsgiContextModel referring to the same
cotext path. |
| Modifier and Type | Method and Description |
|---|---|
void |
WhiteboardWebContainerView.clearFailedDTOInformation(ElementModel<?,?> webElement)
Sned information that given
ElementModel is no longer Whiteboard-tracked, so possible failure DTOs
have to be cleared |
void |
WhiteboardWebContainerView.failedDTOInformation(ElementModel<?,?> webElement)
Send information about failure DTO related to given
ElementModel. |
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.