FileDocCategorySizeDatePackage
XMLStringProvider.javaAPI DocApache Axis 1.42330Sat Apr 22 18:57:28 BST 2006None

XMLStringProvider

public class XMLStringProvider extends FileProvider
A simple ConfigurationProvider that uses the Admin class to configure the engine from a String containing XML. This provider does not write configuration to persistent storage. Example of usage: new XMLStringProvider("");
author
Glen Daniels (gdaniels@apache.org)

Fields Summary
String
xmlConfiguration
Constructors Summary
public XMLStringProvider(String xmlConfiguration)
Constructor

param
xmlConfiguration a String containing an engine configuration in XML.

        super(new ByteArrayInputStream(xmlConfiguration.getBytes()));
        this.xmlConfiguration = xmlConfiguration;
    
Methods Summary
public voidconfigureEngine(org.apache.axis.AxisEngine engine)

        setInputStream(new ByteArrayInputStream(xmlConfiguration.getBytes()));
        super.configureEngine(engine);
    
public voidwriteEngineConfig(org.apache.axis.AxisEngine engine)

        // NOOP