public interface EngineConfiguration
extends java.io.Serializable
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.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_NAME
Property name used for setting an EngineConfiguration to be used
in creating engines.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureEngine(AxisEngine engine)
Configure this AxisEngine using whatever data source we have.
|
java.util.Iterator |
getDeployedServices()
Get an enumeration of the services deployed to this engine.
|
java.util.Hashtable |
getGlobalOptions()
Returns the global configuration options.
|
org.apache.axis.Handler |
getGlobalRequest()
Returns a global request handler.
|
org.apache.axis.Handler |
getGlobalResponse()
Returns a global response handler.
|
org.apache.axis.Handler |
getHandler(javax.xml.namespace.QName qname)
Retrieve an instance of the named handler.
|
java.util.List |
getRoles()
Get a list of roles that this engine plays globally.
|
org.apache.axis.handlers.soap.SOAPService |
getService(javax.xml.namespace.QName qname)
Retrieve an instance of the named service.
|
org.apache.axis.handlers.soap.SOAPService |
getServiceByNamespaceURI(java.lang.String namespace)
Get a service which has been mapped to a particular namespace.
|
org.apache.axis.Handler |
getTransport(javax.xml.namespace.QName qname)
Retrieve an instance of the named transport.
|
org.apache.axis.encoding.TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine.
|
void |
writeEngineConfig(AxisEngine engine)
Read the configuration from an engine, and store it somehow.
|
static final java.lang.String PROPERTY_NAME
void configureEngine(AxisEngine engine) throws org.apache.axis.ConfigurationException
engine - the AxisEngine we'll deploy state toConfigurationException - if there was a problemvoid writeEngineConfig(AxisEngine engine) throws org.apache.axis.ConfigurationException
engine - the AxisEngine from which to read state.ConfigurationException - if there was a problemorg.apache.axis.Handler getHandler(javax.xml.namespace.QName qname)
throws org.apache.axis.ConfigurationException
qname - the QName identifying the
HandlerHandler associated with qnameConfigurationException - if there was a failure in resolving
qnameorg.apache.axis.handlers.soap.SOAPService getService(javax.xml.namespace.QName qname)
throws org.apache.axis.ConfigurationException
qname - the QName identifying the
ServiceService associated with qnameConfigurationException - if there was an error resolving the
qnameorg.apache.axis.handlers.soap.SOAPService getServiceByNamespaceURI(java.lang.String namespace)
throws org.apache.axis.ConfigurationException
namespace - a namespace URIConfigurationException - if there was an error resolving the
namespaceorg.apache.axis.Handler getTransport(javax.xml.namespace.QName qname)
throws org.apache.axis.ConfigurationException
qname - the QName of the transportHandler implementing the transportConfigurationException - if there was an error resolving the
transportorg.apache.axis.encoding.TypeMappingRegistry getTypeMappingRegistry()
throws org.apache.axis.ConfigurationException
ConfigurationException - if there was an error resolving the
registryorg.apache.axis.Handler getGlobalRequest()
throws org.apache.axis.ConfigurationException
Handler that globally handles requestsConfigurationException - if there was some error fetching the
handlerorg.apache.axis.Handler getGlobalResponse()
throws org.apache.axis.ConfigurationException
Handler that globally handles responsesConfigurationException - if there was some error fetching the
handlerjava.util.Hashtable getGlobalOptions()
throws org.apache.axis.ConfigurationException
HashtableConfigurationException - if the global options could not be
returnedjava.util.Iterator getDeployedServices()
throws org.apache.axis.ConfigurationException
ServiceDesc object.Iterator over the ServiceDesc
objectsConfigurationException - if the deployed services could not be
returnedServiceDescjava.util.List getRoles()
List of the roles for this engine