org.apache.axis
Interface ConfigurationProvider

All Known Implementing Classes:
FileProvider, XMLStringProvider

public interface ConfigurationProvider

ConfigurationProvider is an interface which represents a source of configuration information for an AxisEngine. Concrete implementations of this interface will obtain configuration information from some source (examples might be files, Strings, or databases) and are responsible for writing it into an AxisEngine, and writing an AxisEngine's state back out to whatever storage medium is in use.

Author:
Glen Daniels (gdaniels@macromedia.com)

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.
 

Method Detail

configureEngine

public void configureEngine(AxisEngine engine)
                     throws java.lang.Exception
Configure this AxisEngine using whatever data source we have.
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
Read the configuration from an engine, and store it somehow.
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.