public class NullProvider extends Object implements EngineConfiguration
PROPERTY_NAME
Constructor and Description |
---|
NullProvider() |
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.
|
TypeMapping |
getTypeMapping(String encodingStyle) |
TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine.
|
void |
writeEngineConfig(AxisEngine engine)
Read the configuration from an engine, and store it somehow.
|
public void configureEngine(AxisEngine engine) throws ConfigurationException
EngineConfiguration
configureEngine
in interface EngineConfiguration
engine
- the AxisEngine we'll deploy state toConfigurationException
- if there was a problempublic void writeEngineConfig(AxisEngine engine) throws ConfigurationException
EngineConfiguration
writeEngineConfig
in interface EngineConfiguration
engine
- the AxisEngine from which to read state.ConfigurationException
- if there was a problempublic Hashtable getGlobalOptions() throws ConfigurationException
EngineConfiguration
getGlobalOptions
in interface EngineConfiguration
Hashtable
ConfigurationException
- if the global options could not be
returnedpublic Handler getGlobalResponse() throws ConfigurationException
EngineConfiguration
getGlobalResponse
in interface EngineConfiguration
Handler
that globally handles responsesConfigurationException
- if there was some error fetching the
handlerpublic Handler getGlobalRequest() throws ConfigurationException
EngineConfiguration
getGlobalRequest
in interface EngineConfiguration
Handler
that globally handles requestsConfigurationException
- if there was some error fetching the
handlerpublic TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
EngineConfiguration
getTypeMappingRegistry
in interface EngineConfiguration
ConfigurationException
- if there was an error resolving the
registrypublic TypeMapping getTypeMapping(String encodingStyle) throws ConfigurationException
ConfigurationException
public Handler getTransport(QName qname) throws ConfigurationException
EngineConfiguration
getTransport
in interface EngineConfiguration
qname
- the QName
of the transportHandler
implementing the transportConfigurationException
- if there was an error resolving the
transportpublic SOAPService getService(QName qname) throws ConfigurationException
EngineConfiguration
getService
in interface EngineConfiguration
qname
- the QName
identifying the
Service
Service
associated with qname
ConfigurationException
- if there was an error resolving the
qnamepublic SOAPService getServiceByNamespaceURI(String namespace) throws ConfigurationException
EngineConfiguration
getServiceByNamespaceURI
in interface EngineConfiguration
namespace
- a namespace URIConfigurationException
- if there was an error resolving the
namespacepublic Handler getHandler(QName qname) throws ConfigurationException
EngineConfiguration
getHandler
in interface EngineConfiguration
qname
- the QName
identifying the
Handler
Handler
associated with qname
ConfigurationException
- if there was a failure in resolving
qname
public Iterator getDeployedServices() throws ConfigurationException
getDeployedServices
in interface EngineConfiguration
Iterator
over the ServiceDesc
objectsConfigurationException
- if the deployed services could not be
returnedServiceDesc
public List getRoles()
getRoles
in interface EngineConfiguration
List
of the roles for this engineCopyright © The Apache Software Foundation. All Rights Reserved.