public class ClearDynamicRegistrationsChange extends Change
ServletContext.addServlet(java.lang.String, java.lang.String)| Constructor and Description |
|---|
ClearDynamicRegistrationsChange(OpCode op,
List<OsgiContextModel> osgiContextModels) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BatchVisitor visitor)
Perform an operation in acceptor-visitor pattern.
|
List<OsgiContextModel> |
getContextModels()
Get a list of associated context models.
|
getBatchCompletedAction, getKind, registerBatchCompletedAction, uninstallpublic ClearDynamicRegistrationsChange(OpCode op, List<OsgiContextModel> osgiContextModels)
public List<OsgiContextModel> getContextModels()
ChangeGet a list of associated context models.
Usually the list comes from associated model being ADDed and usually doesn't make sense when a change
concerns more models. Special scenario is to get a list of new context models associated with existing
element model after it has been removed (from previous list of associated contexts) in the same Batch.
getContextModels in class Changepublic void accept(BatchVisitor visitor)
ChangeCopyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.