|
|||||||||||
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 java.lang.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. |
java.util.Iterator |
getDeployedServices()
Get an enumeration of the services deployed to this engine. |
java.util.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. |
java.util.List |
getRoles()
Get a list of roles that this engine plays globally. |
org.apache.axis.handlers.soap.SOAPService |
getService(QName qname)
Retrieve an instance of the named service. |
org.apache.axis.handlers.soap.SOAPService |
getServiceByNamespaceURI(java.lang.String namespace)
Get a service which has been mapped to a particular namespace. |
Handler |
getTransport(QName qname)
Retrieve an instance of the named transport. |
org.apache.axis.encoding.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 java.lang.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(QName qname) throws ConfigurationException
qname
- the QName
identifying the
Handler
Handler
associated with qname
ConfigurationException
- if there was a failure in resolving
qname
public org.apache.axis.handlers.soap.SOAPService getService(QName qname) throws ConfigurationException
qname
- the QName
identifying the
Service
Service
associated with qname
ConfigurationException
- if there was an error resolving the
qnamepublic org.apache.axis.handlers.soap.SOAPService getServiceByNamespaceURI(java.lang.String namespace) throws ConfigurationException
namespace
- a namespace URI
ConfigurationException
- if there was an error resolving the
namespacepublic Handler getTransport(QName qname) throws ConfigurationException
qname
- the QName
of the transport
Handler
implementing the transport
ConfigurationException
- if there was an error resolving the
transportpublic org.apache.axis.encoding.TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
ConfigurationException
- if there was an error resolving the
registrypublic Handler getGlobalRequest() throws ConfigurationException
Handler
that globally handles requests
ConfigurationException
- if there was some error fetching the
handlerpublic Handler getGlobalResponse() throws ConfigurationException
Handler
that globally handles responses
ConfigurationException
- if there was some error fetching the
handlerpublic java.util.Hashtable getGlobalOptions() throws ConfigurationException
Hashtable
ConfigurationException
- if the global options could not be
returnedpublic java.util.Iterator getDeployedServices() throws ConfigurationException
ServiceDesc
object.
Iterator
over the ServiceDesc
objects
ConfigurationException
- if the deployed services could not be
returnedServiceDesc
public java.util.List getRoles()
List
of the roles for this engine
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |