|
|||||||||
| Home >> All >> org >> apache >> axis >> [ configuration overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.axis.configuration
Class DirProvider

java.lang.Objectorg.apache.axis.configuration.DirProvider
- All Implemented Interfaces:
- org.apache.axis.EngineConfiguration, org.apache.axis.WSDDEngineConfiguration
- public class DirProvider
- extends java.lang.Object
- implements org.apache.axis.WSDDEngineConfiguration
- extends java.lang.Object
| Nested Class Summary | |
private static class |
DirProvider.DirFilter
|
| Field Summary | |
private java.lang.String |
configFile
|
private org.apache.axis.deployment.wsdd.WSDDDeployment |
deployment
|
private java.io.File |
dir
|
protected static org.apache.commons.logging.Log |
log
|
private static java.lang.String |
SERVER_CONFIG_FILE
|
| Fields inherited from interface org.apache.axis.EngineConfiguration |
PROPERTY_NAME |
| Constructor Summary | |
DirProvider(java.lang.String basepath)
|
|
DirProvider(java.lang.String basepath,
java.lang.String configFile)
|
|
| Method Summary | |
void |
configureEngine(org.apache.axis.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 |
org.apache.axis.deployment.wsdd.WSDDDeployment |
getDeployment()
Get the WSDDDeployment for this engine configuration. |
java.util.Hashtable |
getGlobalOptions()
Returns the global configuration options. |
org.apache.axis.Handler |
getGlobalRequest()
Returns a global request handler. |
org.apache.axis.Handler |
getGlobalResponse()
Returns a global response handler. |
org.apache.axis.Handler |
getHandler(javax.xml.namespace.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(javax.xml.namespace.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 |
org.apache.axis.Handler |
getTransport(javax.xml.namespace.QName qname)
retrieve an instance of the named transport |
org.apache.axis.encoding.TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine. |
private void |
processWSDD(java.io.File dir)
|
void |
writeEngineConfig(org.apache.axis.AxisEngine engine)
Save the engine configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
log
protected static org.apache.commons.logging.Log log
deployment
private org.apache.axis.deployment.wsdd.WSDDDeployment deployment
configFile
private java.lang.String configFile
dir
private java.io.File dir
SERVER_CONFIG_FILE
private static final java.lang.String SERVER_CONFIG_FILE
- See Also:
- Constant Field Values
| Constructor Detail |
DirProvider
public DirProvider(java.lang.String basepath) throws org.apache.axis.ConfigurationException
DirProvider
public DirProvider(java.lang.String basepath, java.lang.String configFile) throws org.apache.axis.ConfigurationException
| Method Detail |
getDeployment
public org.apache.axis.deployment.wsdd.WSDDDeployment getDeployment()
- Description copied from interface:
org.apache.axis.WSDDEngineConfiguration - Get the WSDDDeployment for this engine configuration.
- Specified by:
getDeploymentin interfaceorg.apache.axis.WSDDEngineConfiguration
configureEngine
public void configureEngine(org.apache.axis.AxisEngine engine) throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Configure this AxisEngine using whatever data source we have.
- Specified by:
configureEnginein interfaceorg.apache.axis.EngineConfiguration
processWSDD
private void processWSDD(java.io.File dir) throws org.apache.axis.ConfigurationException
writeEngineConfig
public void writeEngineConfig(org.apache.axis.AxisEngine engine) throws org.apache.axis.ConfigurationException
- Save the engine configuration. In case there's a problem, we
write it to a string before saving it out to the actual file so
we don't screw up the file.
- Specified by:
writeEngineConfigin interfaceorg.apache.axis.EngineConfiguration
getHandler
public org.apache.axis.Handler getHandler(javax.xml.namespace.QName qname) throws org.apache.axis.ConfigurationException
- retrieve an instance of the named handler
- Specified by:
getHandlerin interfaceorg.apache.axis.EngineConfiguration
getService
public org.apache.axis.handlers.soap.SOAPService getService(javax.xml.namespace.QName qname) throws org.apache.axis.ConfigurationException
- retrieve an instance of the named service
- Specified by:
getServicein interfaceorg.apache.axis.EngineConfiguration
getServiceByNamespaceURI
public org.apache.axis.handlers.soap.SOAPService getServiceByNamespaceURI(java.lang.String namespace) throws org.apache.axis.ConfigurationException
- Get a service which has been mapped to a particular namespace
- Specified by:
getServiceByNamespaceURIin interfaceorg.apache.axis.EngineConfiguration
getTransport
public org.apache.axis.Handler getTransport(javax.xml.namespace.QName qname) throws org.apache.axis.ConfigurationException
- retrieve an instance of the named transport
- Specified by:
getTransportin interfaceorg.apache.axis.EngineConfiguration
getTypeMappingRegistry
public org.apache.axis.encoding.TypeMappingRegistry getTypeMappingRegistry() throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Retrieve the TypeMappingRegistry for this engine.
- Specified by:
getTypeMappingRegistryin interfaceorg.apache.axis.EngineConfiguration
getGlobalRequest
public org.apache.axis.Handler getGlobalRequest() throws org.apache.axis.ConfigurationException
- Returns a global request handler.
- Specified by:
getGlobalRequestin interfaceorg.apache.axis.EngineConfiguration
getGlobalResponse
public org.apache.axis.Handler getGlobalResponse() throws org.apache.axis.ConfigurationException
- Returns a global response handler.
- Specified by:
getGlobalResponsein interfaceorg.apache.axis.EngineConfiguration
getGlobalOptions
public java.util.Hashtable getGlobalOptions() throws org.apache.axis.ConfigurationException
- Returns the global configuration options.
- Specified by:
getGlobalOptionsin interfaceorg.apache.axis.EngineConfiguration
getDeployedServices
public java.util.Iterator getDeployedServices() throws org.apache.axis.ConfigurationException
- Get an enumeration of the services deployed to this engine
- Specified by:
getDeployedServicesin interfaceorg.apache.axis.EngineConfiguration
getRoles
public java.util.List getRoles()
- Get a list of roles that this engine plays globally. Services
within the engine configuration may also add additional roles.
- Specified by:
getRolesin interfaceorg.apache.axis.EngineConfiguration
|
|||||||||
| Home >> All >> org >> apache >> axis >> [ configuration overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.axis.configuration.DirProvider