|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.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.jboss.axis.EngineConfiguration (src) |
PROPERTY_NAME |
Constructor Summary | |
SimpleProvider()
Default constructor. |
|
SimpleProvider(EngineConfiguration (src) defaultConfiguration)
Constructor which takes an EngineConfiguration which will be used as the default. |
Method Summary | |
void |
configureEngine(AxisEngine (src) engine)
Configure an AxisEngine. |
void |
deployService(QName (src) qname,
SOAPService (src) service)
|
void |
deployService(java.lang.String name,
SOAPService (src) service)
|
void |
deployTransport(QName (src) qname,
Handler (src) transport)
|
void |
deployTransport(java.lang.String name,
Handler (src) transport)
|
java.util.Iterator |
getDeployedServices()
Get an enumeration of the services deployed to this engine |
java.util.Hashtable |
getGlobalOptions()
Returns the global configuration options. |
Handler (src) |
getGlobalRequest()
Returns a global request handler. |
Handler (src) |
getGlobalResponse()
Returns a global response handler. |
Handler (src) |
getHandler(QName (src) qname)
retrieve an instance of the named handler |
SOAPService (src) |
getService(QName (src) qname)
retrieve an instance of the named service |
SOAPService (src) |
getServiceByNamespaceURI(java.lang.String namespace)
Get a service which has been mapped to a particular namespace |
Handler (src) |
getTransport(QName (src) qname)
retrieve an instance of the named transport |
TypeMapping (src) |
getTypeMapping(java.lang.String encodingStyle)
|
TypeMappingRegistry (src) |
getTypeMappingRegistry()
Get our TypeMappingRegistry. |
void |
writeEngineConfig(AxisEngine (src) 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 (src) defaultConfiguration)
Method Detail |
public void configureEngine(AxisEngine (src) engine) throws ConfigurationException (src)
configureEngine
in interface EngineConfiguration (src)
engine
- the AxisEngine we'll deploy state to
ConfigurationException (src)
- if there was a problempublic void writeEngineConfig(AxisEngine (src) engine) throws ConfigurationException (src)
writeEngineConfig
in interface EngineConfiguration (src)
engine
- the AxisEngine from which to read state.
ConfigurationException (src)
- if there was a problempublic java.util.Hashtable getGlobalOptions() throws ConfigurationException (src)
getGlobalOptions
in interface EngineConfiguration (src)
ConfigurationException (src)
public Handler (src) getGlobalResponse() throws ConfigurationException (src)
getGlobalResponse
in interface EngineConfiguration (src)
ConfigurationException (src)
public Handler (src) getGlobalRequest() throws ConfigurationException (src)
getGlobalRequest
in interface EngineConfiguration (src)
ConfigurationException (src)
public TypeMappingRegistry (src) getTypeMappingRegistry() throws ConfigurationException (src)
getTypeMappingRegistry
in interface EngineConfiguration (src)
ConfigurationException (src)
public TypeMapping (src) getTypeMapping(java.lang.String encodingStyle) throws ConfigurationException (src)
ConfigurationException (src)
public Handler (src) getTransport(QName (src) qname) throws ConfigurationException (src)
EngineConfiguration (src)
getTransport
in interface EngineConfiguration (src)
qname
- XXX
ConfigurationException (src)
- XXXpublic SOAPService (src) getService(QName (src) qname) throws ConfigurationException (src)
EngineConfiguration (src)
getService
in interface EngineConfiguration (src)
qname
- XXX
ConfigurationException (src)
- XXXpublic SOAPService (src) getServiceByNamespaceURI(java.lang.String namespace) throws ConfigurationException (src)
getServiceByNamespaceURI
in interface EngineConfiguration (src)
namespace
- a namespace URI
ConfigurationException (src)
public Handler (src) getHandler(QName (src) qname) throws ConfigurationException (src)
EngineConfiguration (src)
getHandler
in interface EngineConfiguration (src)
qname
- XXX
ConfigurationException (src)
- XXXpublic void deployService(QName (src) qname, SOAPService (src) service)
public void deployService(java.lang.String name, SOAPService (src) service)
public void deployTransport(QName (src) qname, Handler (src) transport)
public void deployTransport(java.lang.String name, Handler (src) transport)
public java.util.Iterator getDeployedServices() throws ConfigurationException (src)
getDeployedServices
in interface EngineConfiguration (src)
ConfigurationException (src)
ServiceDesc
(src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |