org.apache.axis.configuration
public class DirProvider extends java.lang.Object implements WSDDEngineConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
PROPERTY_NAME| Constructor and Description |
|---|
DirProvider(java.lang.String basepath) |
DirProvider(java.lang.String basepath,
java.lang.String configFile) |
| Modifier and Type | Method and Description |
|---|---|
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
|
WSDDDeployment |
getDeployment()
Get the WSDDDeployment for this engine configuration.
|
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.
|
SOAPService |
getService(QName qname)
retrieve an instance of the named service
|
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
|
TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine.
|
void |
writeEngineConfig(AxisEngine engine)
Save the engine configuration.
|
public DirProvider(java.lang.String basepath)
throws ConfigurationException
ConfigurationExceptionpublic DirProvider(java.lang.String basepath,
java.lang.String configFile)
throws ConfigurationException
ConfigurationExceptionpublic WSDDDeployment getDeployment()
WSDDEngineConfigurationgetDeployment in interface WSDDEngineConfigurationpublic void configureEngine(AxisEngine engine) throws ConfigurationException
EngineConfigurationconfigureEngine in interface EngineConfigurationengine - the AxisEngine we'll deploy state toConfigurationException - 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 Handler getHandler(QName qname) throws ConfigurationException
getHandler in interface EngineConfigurationqname - XXXConfigurationException - XXXpublic SOAPService getService(QName qname) throws ConfigurationException
getService in interface EngineConfigurationqname - XXXConfigurationException - XXXpublic SOAPService getServiceByNamespaceURI(java.lang.String namespace) throws ConfigurationException
getServiceByNamespaceURI in interface EngineConfigurationnamespace - a namespace URIConfigurationException - if there was an error resolving the
namespacepublic Handler getTransport(QName qname) throws ConfigurationException
getTransport in interface EngineConfigurationqname - XXXConfigurationException - XXXpublic TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
EngineConfigurationgetTypeMappingRegistry in interface EngineConfigurationConfigurationException - if there was an error resolving the
registrypublic Handler getGlobalRequest() throws ConfigurationException
getGlobalRequest in interface EngineConfigurationHandler that globally handles requestsConfigurationException - if there was some error fetching the
handlerpublic Handler getGlobalResponse() throws ConfigurationException
getGlobalResponse in interface EngineConfigurationHandler that globally handles responsesConfigurationException - if there was some error fetching the
handlerpublic java.util.Hashtable getGlobalOptions()
throws ConfigurationException
getGlobalOptions in interface EngineConfigurationHashtableConfigurationException - if the global options could not be
returnedpublic java.util.Iterator getDeployedServices()
throws ConfigurationException
getDeployedServices in interface EngineConfigurationIterator over the ServiceDesc
objectsConfigurationException - if the deployed services could not be
returnedServiceDescpublic java.util.List getRoles()
getRoles in interface EngineConfigurationList of the roles for this engineCopyright ? 2005 Apache Web Services Project. All Rights Reserved.