public class OsgiContextModelChange extends Change
| Constructor and Description |
|---|
OsgiContextModelChange(OpCode op,
org.ops4j.pax.web.service.WebContainerContext context,
OsgiContextModel osgiContextModel,
ServletContextModel servletContextModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BatchVisitor visitor)
Perform an operation in acceptor-visitor pattern.
|
org.ops4j.pax.web.service.WebContainerContext |
getContext() |
OsgiContextModel |
getOsgiContextModel() |
ServletContextModel |
getServletContextModel() |
String |
toString() |
void |
uninstall(List<Change> operations)
|
getBatchCompletedAction, getContextModels, getKind, registerBatchCompletedActionpublic OsgiContextModelChange(OpCode op, org.ops4j.pax.web.service.WebContainerContext context, OsgiContextModel osgiContextModel, ServletContextModel servletContextModel)
public void uninstall(List<Change> operations)
ChangeChange may be reversed, which is handy when rolling back existing Batch. A single
change may be a no-op during uninstallation (like for example welcome files), but also may consist of
more uninstallation changes - like OsgiContextModelChange which has to follow unregistrations of
dynamic servlets/filters/listeners.public org.ops4j.pax.web.service.WebContainerContext getContext()
public OsgiContextModel getOsgiContextModel()
public ServletContextModel getServletContextModel()
public void accept(BatchVisitor visitor)
ChangeCopyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.