当前页面:
在线文档首页 >
JBoss 3.2.7 jaxrpc API Documentation 英文版文档
XMLStringProvider (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档
org.apache.axis.configuration
Class XMLStringProvider
java.lang.Object
org.apache.axis.configuration.FileProvider
org.apache.axis.configuration.XMLStringProvider
All Implemented Interfaces: EngineConfiguration , WSDDEngineConfiguration
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@macromedia.com)
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
XMLStringProvider
public XMLStringProvider (String xmlConfiguration)
Constructor
Parameters: xmlConfiguration
- a String containing an engine configuration
in XML.
writeEngineConfig
public void writeEngineConfig (AxisEngine engine)
throws ConfigurationException
Description copied from class: FileProvider
Save the engine configuration. In case there's a problem, we
write it to a string before saving it out to the actual file so
we don't screw up the file.
Specified by: writeEngineConfig
in interface EngineConfiguration
Overrides: writeEngineConfig
in class FileProvider
Throws:
ConfigurationException
configureEngine
public void configureEngine (AxisEngine engine)
throws ConfigurationException
Description copied from interface: EngineConfiguration
Configure this AxisEngine using whatever data source we have.
Specified by: configureEngine
in interface EngineConfiguration
Overrides: configureEngine
in class FileProvider
Throws:
ConfigurationException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.