public interface EngineConfiguration
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 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.
|
Iterator |
getDeployedServices()
Get an enumeration of the services deployed to this engine.
|
Hashtable |
getGlobalOptions()
Returns the global configuration options.
|
Handler |
getGlobalRequest()
Returns a global request handler.
|
Handler |
getGlobalResponse()
Returns a global response handler.
|
Handler |
getHandler(QName qname)
Retrieve an instance of the named handler.
|
List |
getRoles()
Get a list of roles that this engine plays globally.
|
SOAPService |
getService(QName qname)
Retrieve an instance of the named service.
|
SOAPService |
getServiceByNamespaceURI(String namespace)
Get a service which has been mapped to a particular namespace.
|
Handler |
getTransport(QName qname)
Retrieve an instance of the named transport.
|
TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine.
|
void |
writeEngineConfig(AxisEngine engine)
Read the configuration from an engine, and store it somehow.
|
static final String PROPERTY_NAME
void configureEngine(AxisEngine engine) throws ConfigurationException
engine
- the AxisEngine we'll deploy state toConfigurationException
- if there was a problemvoid writeEngineConfig(AxisEngine engine) throws ConfigurationException
engine
- the AxisEngine from which to read state.ConfigurationException
- if there was a problemHandler getHandler(QName qname) throws ConfigurationException
qname
- the QName
identifying the
Handler
Handler
associated with qname
ConfigurationException
- if there was a failure in resolving
qname
SOAPService getService(QName qname) throws ConfigurationException
qname
- the QName
identifying the
Service
Service
associated with qname
ConfigurationException
- if there was an error resolving the
qnameSOAPService getServiceByNamespaceURI(String namespace) throws ConfigurationException
namespace
- a namespace URIConfigurationException
- if there was an error resolving the
namespaceHandler getTransport(QName qname) throws ConfigurationException
qname
- the QName
of the transportHandler
implementing the transportConfigurationException
- if there was an error resolving the
transportTypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
ConfigurationException
- if there was an error resolving the
registryHandler getGlobalRequest() throws ConfigurationException
Handler
that globally handles requestsConfigurationException
- if there was some error fetching the
handlerHandler getGlobalResponse() throws ConfigurationException
Handler
that globally handles responsesConfigurationException
- if there was some error fetching the
handlerHashtable getGlobalOptions() throws ConfigurationException
Hashtable
ConfigurationException
- if the global options could not be
returnedIterator getDeployedServices() throws ConfigurationException
ServiceDesc
object.Iterator
over the ServiceDesc
objectsConfigurationException
- if the deployed services could not be
returnedServiceDesc
List getRoles()
List
of the roles for this engineCopyright © The Apache Software Foundation. All Rights Reserved.