org.apache.axis.configuration
Class XMLStringProvider

java.lang.Object
  |
  +--org.apache.axis.configuration.XMLStringProvider
All Implemented Interfaces:
ConfigurationProvider

public class XMLStringProvider
extends java.lang.Object
implements ConfigurationProvider

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.

Author:
Glen Daniels (gdaniels@macromedia.com)

Constructor Summary
XMLStringProvider(java.lang.String xmlConfiguration)
          Constructor
 
Method Summary
 void configureEngine(AxisEngine engine)
          Configure this AxisEngine using whatever data source we have.
 void writeEngineConfig(AxisEngine engine)
          Read the configuration from an engine, and store it somehow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLStringProvider

public XMLStringProvider(java.lang.String xmlConfiguration)
Constructor
Parameters:
xmlConfiguration - a String containing an engine configuration in XML.
Method Detail

configureEngine

public void configureEngine(AxisEngine engine)
                     throws java.lang.Exception
Description copied from interface: ConfigurationProvider
Configure this AxisEngine using whatever data source we have.
Specified by:
configureEngine in interface ConfigurationProvider
Following copied from interface: org.apache.axis.ConfigurationProvider
Parameters:
engine - the AxisEngine we'll deploy state to
Throws:
Exeption - if there was a problem

writeEngineConfig

public void writeEngineConfig(AxisEngine engine)
                       throws java.lang.Exception
Description copied from interface: ConfigurationProvider
Read the configuration from an engine, and store it somehow.
Specified by:
writeEngineConfig in interface ConfigurationProvider
Following copied from interface: org.apache.axis.ConfigurationProvider
Parameters:
engine - the AxisEngine from which to read state.
Throws:
java.lang.Exception - if there was a problem


Copyright © 2001 Apache XML Project. All Rights Reserved.