|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EngineConfiguration is an interface that the Message Flow subsystem provides so that engine configuration can be provided in a pluggable way. An instance of EngineConfiguration provides configuration for a particular engine instance.
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.
Field Summary | |
static String |
PROPERTY_NAME
Property name used for setting an EngineConfiguration to be used in creating engines. |
Method Summary | |
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, these are represented as ServiceDesc objects |
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 |
TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine |
void |
writeEngineConfig(AxisEngine engine)
Read the configuration from an engine, and store it somehow. |
Field Detail |
public static final String PROPERTY_NAME
Method Detail |
public void configureEngine(AxisEngine engine) throws ConfigurationException
engine
- the AxisEngine we'll deploy state to
ConfigurationException
- if there was a problempublic void writeEngineConfig(AxisEngine engine) throws ConfigurationException
engine
- the AxisEngine from which to read state.
ConfigurationException
- if there was a problempublic Handler getHandler(javax.xml.namespace.QName qname) throws ConfigurationException
qname
- XXX
ConfigurationException
- XXXpublic SOAPService getService(javax.xml.namespace.QName qname) throws ConfigurationException
qname
- XXX
ConfigurationException
- XXXpublic SOAPService getServiceByNamespaceURI(String namespace) throws ConfigurationException
namespace
- a namespace URI
ConfigurationException
public Handler getTransport(javax.xml.namespace.QName qname) throws ConfigurationException
qname
- XXX
ConfigurationException
- XXXpublic TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
ConfigurationException
public Handler getGlobalRequest() throws ConfigurationException
ConfigurationException
public Handler getGlobalResponse() throws ConfigurationException
ConfigurationException
public Hashtable getGlobalOptions() throws ConfigurationException
ConfigurationException
public Iterator getDeployedServices() throws ConfigurationException
ConfigurationException
ServiceDesc
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |