public class FileProvider extends DelegatingWSDDEngineConfiguration
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
PROPERTY_NAME
Constructor and Description |
---|
FileProvider(InputStream is)
Constructor which takes an input stream directly.
|
FileProvider(String filename)
Constructor which accesses a file in the current directory of the
engine or at an absolute path.
|
FileProvider(String basepath,
String filename)
Constructor which accesses a file relative to a specific base
path.
|
Modifier and Type | Method and Description |
---|---|
void |
configureEngine(AxisEngine engine)
Configure this AxisEngine using whatever data source we have.
|
WSDDDeployment |
getDeployment()
Get the WSDDDeployment for this engine configuration.
|
void |
setDeployment(WSDDDeployment deployment) |
void |
setInputStream(InputStream is) |
void |
setSearchClasspath(boolean searchClasspath)
Determine whether or not we will look for a "*-config.wsdd" file
on the classpath if we don't find it in the specified location.
|
void |
writeEngineConfig(AxisEngine engine)
Save the engine configuration.
|
getDeployedServices, getGlobalOptions, getGlobalRequest, getGlobalResponse, getHandler, getRoles, getService, getServiceByNamespaceURI, getTransport, getTypeMappingRegistry
public FileProvider(String filename)
public FileProvider(String basepath, String filename) throws ConfigurationException
ConfigurationException
public FileProvider(InputStream is)
public void setInputStream(InputStream is)
public WSDDDeployment getDeployment()
WSDDEngineConfiguration
public void setDeployment(WSDDDeployment deployment)
public void setSearchClasspath(boolean searchClasspath)
searchClasspath
- true if we should search the classpathpublic void configureEngine(AxisEngine engine) throws ConfigurationException
EngineConfiguration
engine
- the AxisEngine we'll deploy state toConfigurationException
- if there was a problempublic void writeEngineConfig(AxisEngine engine) throws ConfigurationException
engine
- the AxisEngine from which to read state.ConfigurationException
- if there was a problemCopyright © The Apache Software Foundation. All Rights Reserved.