|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.configuration.SimpleProvider
A SimpleProvider is an EngineConfiguration which contains a simple HashMap-based registry of Handlers, Transports, and Services. This is for when you want to programatically deploy components which you create.
SimpleProvider may also optionally contain a reference to a "default" EngineConfiguration, which will be scanned for components not found in the internal registry. This is handy when you want to start with a base configuration (like the default WSDD) and then quickly add stuff without changing the WSDD document.
| Field Summary |
| Fields inherited from interface org.apache.axis.EngineConfiguration |
PROPERTY_NAME |
| Constructor Summary | |
SimpleProvider()
Default constructor. |
|
SimpleProvider(EngineConfiguration defaultConfiguration)
Constructor which takes an EngineConfiguration which will be used as the default. |
|
| Method Summary | |
void |
configureEngine(AxisEngine engine)
Configure an AxisEngine. |
void |
deployService(javax.xml.namespace.QName qname,
SOAPService service)
|
void |
deployService(String name,
SOAPService service)
|
void |
deployTransport(javax.xml.namespace.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(javax.xml.namespace.QName qname)
retrieve an instance of the named handler |
SOAPService |
getService(javax.xml.namespace.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(javax.xml.namespace.QName qname)
retrieve an instance of the named transport |
TypeMapping |
getTypeMapping(String encodingStyle)
|
TypeMappingRegistry |
getTypeMappingRegistry()
Get our TypeMappingRegistry. |
void |
writeEngineConfig(AxisEngine engine)
We don't write ourselves out, so this is a noop. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleProvider()
public SimpleProvider(EngineConfiguration defaultConfiguration)
| Method Detail |
public void configureEngine(AxisEngine engine) throws ConfigurationException
configureEngine in interface EngineConfigurationengine - the AxisEngine we'll deploy state to
ConfigurationException - if there was a problempublic void writeEngineConfig(AxisEngine engine) throws ConfigurationException
writeEngineConfig in interface EngineConfigurationengine - the AxisEngine from which to read state.
ConfigurationException - if there was a problempublic Hashtable getGlobalOptions() throws ConfigurationException
getGlobalOptions in interface EngineConfigurationConfigurationExceptionpublic Handler getGlobalResponse() throws ConfigurationException
getGlobalResponse in interface EngineConfigurationConfigurationExceptionpublic Handler getGlobalRequest() throws ConfigurationException
getGlobalRequest in interface EngineConfigurationConfigurationExceptionpublic TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
getTypeMappingRegistry in interface EngineConfigurationConfigurationExceptionpublic TypeMapping getTypeMapping(String encodingStyle) throws ConfigurationException
ConfigurationExceptionpublic Handler getTransport(javax.xml.namespace.QName qname) throws ConfigurationException
EngineConfiguration
getTransport in interface EngineConfigurationqname - XXX
ConfigurationException - XXXpublic SOAPService getService(javax.xml.namespace.QName qname) throws ConfigurationException
EngineConfiguration
getService in interface EngineConfigurationqname - XXX
ConfigurationException - XXXpublic SOAPService getServiceByNamespaceURI(String namespace) throws ConfigurationException
getServiceByNamespaceURI in interface EngineConfigurationnamespace - a namespace URI
ConfigurationExceptionpublic Handler getHandler(javax.xml.namespace.QName qname) throws ConfigurationException
EngineConfiguration
getHandler in interface EngineConfigurationqname - XXX
ConfigurationException - XXX
public void deployService(javax.xml.namespace.QName qname,
SOAPService service)
public void deployService(String name, SOAPService service)
public void deployTransport(javax.xml.namespace.QName qname,
Handler transport)
public void deployTransport(String name, Handler transport)
public Iterator getDeployedServices() throws ConfigurationException
getDeployedServices in interface EngineConfigurationConfigurationExceptionServiceDesc
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||