org.apache.axis
Interface EngineConfiguration
- WSDDEngineConfiguration
- BasicClientConfig, BasicServerConfig, DirProvider, FileProvider, NullProvider, SimpleProvider, WSDDDeployment, XMLStringProvider
public interface EngineConfiguration
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.
- Glyn Normington (glyn@apache.org)
- Glen Daniels (gdaniels@apache.org)
static String | PROPERTY_NAME - Property name used for setting an EngineConfiguration to be used
in creating engines.
|
PROPERTY_NAME
public static final String PROPERTY_NAME
Property name used for setting an EngineConfiguration to be used
in creating engines.
configureEngine
public void configureEngine(AxisEngine engine)
throws ConfigurationException
Configure this AxisEngine using whatever data source we have.
engine
- the AxisEngine we'll deploy state to
getDeployedServices
public Iterator getDeployedServices()
throws ConfigurationException
Get an enumeration of the services deployed to this engine.
Each service is represented as ServiceDesc
object.
- an
Iterator
over the ServiceDesc
objects
getGlobalOptions
public Hashtable getGlobalOptions()
throws ConfigurationException
Returns the global configuration options.
- the global options as a
Hashtable
getGlobalRequest
public Handler getGlobalRequest()
throws ConfigurationException
Returns a global request handler.
- the
Handler
that globally handles requests
getGlobalResponse
public Handler getGlobalResponse()
throws ConfigurationException
Returns a global response handler.
- the
Handler
that globally handles responses
getHandler
public Handler getHandler(QName qname)
throws ConfigurationException
Retrieve an instance of the named handler.
qname
- the QName
identifying the
Handler
- the
Handler
associated with qname
getRoles
public List getRoles()
Get a list of roles that this engine plays globally. Services
within the engine configuration may also add additional roles.
- a
List
of the roles for this engine
getService
public SOAPService getService(QName qname)
throws ConfigurationException
Retrieve an instance of the named service.
qname
- the QName
identifying the
Service
- the
Service
associated with qname
getServiceByNamespaceURI
public SOAPService getServiceByNamespaceURI(String namespace)
throws ConfigurationException
Get a service which has been mapped to a particular namespace.
namespace
- a namespace URI
- an instance of the appropriate Service, or null
getTransport
public Handler getTransport(QName qname)
throws ConfigurationException
Retrieve an instance of the named transport.
qname
- the QName
of the transport
- a
Handler
implementing the transport
writeEngineConfig
public void writeEngineConfig(AxisEngine engine)
throws ConfigurationException
Read the configuration from an engine, and store it somehow.
engine
- the AxisEngine from which to read state.
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.