|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.configuration.FileProvider | +--org.apache.axis.configuration.XMLStringProvider
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("
Field Summary |
Fields inherited from class org.apache.axis.configuration.FileProvider |
log |
Fields inherited from interface org.apache.axis.EngineConfiguration |
PROPERTY_NAME |
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)
Save the engine configuration. |
Methods inherited from class org.apache.axis.configuration.FileProvider |
getDeployedServices, getDeployment, getGlobalOptions, getGlobalRequest, getGlobalResponse, getHandler, getService, getServiceByNamespaceURI, getTransport, getTypeMappingRegistry, setDeployment, setInputStream, setSearchClasspath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLStringProvider(java.lang.String xmlConfiguration)
xmlConfiguration
- a String containing an engine configuration
in XML.Method Detail |
public void writeEngineConfig(AxisEngine engine) throws ConfigurationException
FileProvider
writeEngineConfig
in interface EngineConfiguration
writeEngineConfig
in class FileProvider
engine
- the AxisEngine from which to read state.
ConfigurationException
- if there was a problempublic void configureEngine(AxisEngine engine) throws ConfigurationException
EngineConfiguration
configureEngine
in interface EngineConfiguration
configureEngine
in class FileProvider
engine
- the AxisEngine we'll deploy state to
ConfigurationException
- if there was a problem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |