Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.axis.configuration.FileProvider
Field Summary | |
protected static Log |
Fields inherited from interface org.apache.axis.EngineConfiguration | |
PROPERTY_NAME |
Constructor Summary | |
| |
| |
|
Method Summary | |
void |
|
Iterator |
|
WSDDDeployment | |
Hashtable |
|
Handler |
|
Handler |
|
Handler |
|
List |
|
SOAPService |
|
SOAPService |
|
Handler |
|
TypeMappingRegistry | |
void |
|
void |
|
void |
|
void |
|
public FileProvider(InputStream is)
Constructor which takes an input stream directly. Note: The configuration will be read-only in this case!
public FileProvider(String filename)
Constructor which accesses a file in the current directory of the engine or at an absolute path.
public FileProvider(String basepath, String filename) throws ConfigurationException
Constructor which accesses a file relative to a specific base path.
public void configureEngine(AxisEngine engine) throws ConfigurationException
- Specified by:
- configureEngine in interface EngineConfiguration
public Iterator getDeployedServices() throws ConfigurationException
Get an enumeration of the services deployed to this engine
- Specified by:
- getDeployedServices in interface EngineConfiguration
public WSDDDeployment getDeployment()
- Specified by:
- getDeployment in interface WSDDEngineConfiguration
public Hashtable getGlobalOptions() throws ConfigurationException
Returns the global configuration options.
- Specified by:
- getGlobalOptions in interface EngineConfiguration
public Handler getGlobalRequest() throws ConfigurationException
Returns a global request handler.
- Specified by:
- getGlobalRequest in interface EngineConfiguration
public Handler getGlobalResponse() throws ConfigurationException
Returns a global response handler.
- Specified by:
- getGlobalResponse in interface EngineConfiguration
public Handler getHandler(QName qname) throws ConfigurationException
retrieve an instance of the named handler
- Specified by:
- getHandler in interface EngineConfiguration
- Parameters:
qname
- XXX
- Returns:
- XXX
- Throws:
ConfigurationException
- XXX
public List getRoles()
Get a list of roles that this engine plays globally. Services within the engine configuration may also add additional roles.
- Specified by:
- getRoles in interface EngineConfiguration
- Returns:
- a
List
of the roles for this engine
public SOAPService getService(QName qname) throws ConfigurationException
retrieve an instance of the named service
- Specified by:
- getService in interface EngineConfiguration
- Parameters:
qname
- XXX
- Returns:
- XXX
- Throws:
ConfigurationException
- XXX
public SOAPService getServiceByNamespaceURI(String namespace) throws ConfigurationException
Get a service which has been mapped to a particular namespace
- Specified by:
- getServiceByNamespaceURI in interface EngineConfiguration
- Parameters:
namespace
- a namespace URI
- Returns:
- an instance of the appropriate Service, or null
public Handler getTransport(QName qname) throws ConfigurationException
retrieve an instance of the named transport
- Specified by:
- getTransport in interface EngineConfiguration
- Parameters:
qname
- XXX
- Returns:
- XXX
- Throws:
ConfigurationException
- XXX
public TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
- Specified by:
- getTypeMappingRegistry in interface EngineConfiguration
public void setInputStream(InputStream is)
public 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.
- Parameters:
searchClasspath
- true if we should search the classpath
public void writeEngineConfig(AxisEngine engine) throws ConfigurationException
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