Class OsgiContextModelChange
- java.lang.Object
-
- org.ops4j.pax.web.service.spi.task.Change
-
- org.ops4j.pax.web.service.spi.task.OsgiContextModelChange
-
public class OsgiContextModelChange extends Change
-
-
Constructor Summary
Constructors Constructor Description OsgiContextModelChange(OpCode op, org.ops4j.pax.web.service.WebContainerContext context, OsgiContextModel osgiContextModel, ServletContextModel servletContextModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.ops4j.pax.web.service.spi.task.Change
getBatchCompletedAction, getContextModels, getKind, registerBatchCompletedAction
-
-
-
-
Constructor Detail
-
OsgiContextModelChange
public OsgiContextModelChange(OpCode op, org.ops4j.pax.web.service.WebContainerContext context, OsgiContextModel osgiContextModel, ServletContextModel servletContextModel)
-
-
Method Detail
-
uninstall
public void uninstall(List<Change> operations)
Description copied from class:Change
AChange
may be reversed, which is handy when rolling back existingBatch
. A single change may be a no-op during uninstallation (like for example welcome files), but also may consist of more uninstallation changes - likeOsgiContextModelChange
which has to follow unregistrations of dynamic servlets/filters/listeners.
-
getContext
public org.ops4j.pax.web.service.WebContainerContext getContext()
-
getOsgiContextModel
public OsgiContextModel getOsgiContextModel()
-
getServletContextModel
public ServletContextModel getServletContextModel()
-
accept
public void accept(BatchVisitor visitor)
Description copied from class:Change
Perform an operation in acceptor-visitor pattern.
-
-