public class ConfigurableSnapshotArchiverFactory extends Object implements SnapshotArchiverFactory, XmlConfigurable
SnapshotArchiverFactory
implementation that creates instances of
a SnapshotArchiver class configured using an XmlElement.Constructor | Description |
---|---|
ConfigurableSnapshotArchiverFactory() |
Modifier and Type | Method | 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 SnapshotArchiverFactory
sClusterName
- 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 XmlConfigurable
xml
- the XML configuration for the objectpublic XmlElement getConfig()
getConfig
in interface XmlConfigurable