org.apache.axis.configuration
public class SimpleProvider extends Object implements EngineConfiguration
Constructor Summary | |
---|---|
SimpleProvider()
Default constructor. | |
SimpleProvider(EngineConfiguration defaultConfiguration)
Constructor which takes an EngineConfiguration which will be used
as the default. | |
SimpleProvider(TypeMappingRegistry typeMappingRegistry)
Construct a SimpleProvider using the supplied TypeMappingRegistry.
|
Method Summary | |
---|---|
void | addRole(String role)
Add a role to the configuration's global list
|
void | configureEngine(AxisEngine engine)
Configure an AxisEngine. |
void | deployService(QName qname, SOAPService service) |
void | deployService(String name, SOAPService service) |
void | deployTransport(QName qname, Handler transport) |
void | deployTransport(String name, Handler transport) |
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) |
List | getRoles()
Get a list of roles that this engine plays globally. |
SOAPService | getService(QName qname) |
SOAPService | getServiceByNamespaceURI(String namespace)
Get a service which has been mapped to a particular namespace
|
Handler | getTransport(QName qname) |
TypeMapping | getTypeMapping(String encodingStyle) |
TypeMappingRegistry | getTypeMappingRegistry()
Get our TypeMappingRegistry. |
void | removeRole(String role)
Remove a role from the configuration's global list
|
void | setGlobalOptions(Hashtable options)
Set the global options Hashtable
|
void | setGlobalRequest(Handler globalRequest)
Set the global request Handler
|
void | setGlobalResponse(Handler globalResponse)
Set the global response Handler
|
void | setRoles(List roles)
Set the global role list for this configuration. |
void | writeEngineConfig(AxisEngine engine)
We don't write ourselves out, so this is a noop. |
Parameters: typeMappingRegistry
Parameters: role
Returns: a List
of the roles for this engine
Parameters: namespace a namespace URI
Returns: an instance of the appropriate Service, or null
Parameters: role
Parameters: options
Parameters: globalRequest
Parameters: globalResponse
Parameters: roles