public class ConfigurableSnapshotArchiverFactory extends Object implements SnapshotArchiverFactory, XmlConfigurable
SnapshotArchiverFactory implementation that creates instances of a SnapshotArchiver class configured using an XmlElement.| Constructor and Description |
|---|
ConfigurableSnapshotArchiverFactory() |
| Modifier and Type | Method and Description |
|---|---|
SnapshotArchiver |
createSnapshotArchiver(String sClusterName, String sServiceName)
Create a new SnapshotArchiver.
|
XmlElement |
getConfig()
Determine the current configuration of the object.
|
void |
setConfig(XmlElement xml)
Specify the configuration for the object.
|
String |
toString() |
public SnapshotArchiver createSnapshotArchiver(String sClusterName, String sServiceName)
createSnapshotArchiver in interface SnapshotArchiverFactorysClusterName - the name of the Cluster that is creating the archiversServiceName - the name of the Service that is creating the archiverpublic void setConfig(XmlElement xml)
setConfig in interface XmlConfigurablexml - the XML configuration for the objectpublic XmlElement getConfig()
getConfig in interface XmlConfigurable