net.sf.xaj.support
Class XAttackUpdateTaskConfig
java.lang.Object
net.sf.xaj.support.XAttackTaskConfig
net.sf.xaj.support.XAttackUpdateTaskConfig
public class XAttackUpdateTaskConfig
- extends XAttackTaskConfig
An XAttack
configuration bean for bulk update tasks.
This task works by taking a single XML input file and repeatedly
applying an XSLT transformation to that XML to generate different
XML documents to update/store in the database. The input XML acts
like a template, from which the XSLT generates any number of different
XML documents to simulate update/store transactional workload on
the configured XmlDb
instance.
After each transformation, an XPath is exectued against the
transformed document to extract the document's ID for storing in
the database.
The configurable properties of this class are:
- inputXml
-
- The XML input resource to use to generate the XML documents
that will be updated/stored in the database via the XSLT
transformation configured by
inputXslt
.
- inputXslt
- The XSLT input resource to run against the
inputXml
XML document in order to generate an XML document to update/store
in the database. This transformation will be applied for each
iteration, and the output must be an XML document that can be
stored in the configured xmlDb
.
- xsltParametersResolver
- A
XAttack.IterationParametersResolver
to resolve XSLT
input parameters with.
- docIdXpath
- The XPath to run after the XSLT transformation to extract the
generated XML document ID.
- Version:
- $Revision$ $Date$
- Author:
- matt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XAttackUpdateTaskConfig
public XAttackUpdateTaskConfig()
getDocIdXpath
public java.lang.String getDocIdXpath()
- Returns:
- the docIdXpath
setDocIdXpath
public void setDocIdXpath(java.lang.String docIdXpath)
- Parameters:
docIdXpath
- the docIdXpath to set
getInputXml
public org.springframework.core.io.Resource getInputXml()
- Returns:
- the inputXml
setInputXml
public void setInputXml(org.springframework.core.io.Resource inputXml)
- Parameters:
inputXml
- the inputXml to set
getInputXslt
public org.springframework.core.io.Resource getInputXslt()
- Returns:
- the inputXslt
setInputXslt
public void setInputXslt(org.springframework.core.io.Resource inputXslt)
- Parameters:
inputXslt
- the inputXslt to set
getXsltParametersResolver
public XAttack.IterationParametersResolver getXsltParametersResolver()
- Returns:
- the xsltParametersResolver
setXsltParametersResolver
public void setXsltParametersResolver(XAttack.IterationParametersResolver xsltParametersResolver)
- Parameters:
xsltParametersResolver
- the xsltParametersResolver to set