public static interface ContainerConfig.Transaction
| Modifier and Type | Method and Description |
|---|---|
ContainerConfig.Transaction |
addContainer(Map<String,Object> container)
Adds or modifies a container configuration.
|
ContainerConfig.Transaction |
clearContainers()
Clears the container configuration before performing the other operations
in the transaction.
|
void |
commit()
Performs all the transaction operations on the container configuration.
|
ContainerConfig.Transaction |
removeContainer(String name)
Removes a container configuration.
|
ContainerConfig.Transaction clearContainers()
ContainerConfig.Transaction addContainer(Map<String,Object> container)
container - The container's new configuration, as a map from
property name to property contents.ContainerConfig.Transaction removeContainer(String name)
name - The name of the container to remove.void commit()
throws ContainerConfigException
ContainerConfigException - If there was a problem applying the new
configuration. If this exception is thrown, the existing
configuration will not be modified.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.