|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.axis.configuration.FileProvider
A simple ConfigurationProvider that uses the Admin class to read + write XML files.
| Field Summary | |
protected java.io.File |
configFile
|
protected WSDDDeployment |
deployment
|
protected java.lang.String |
filename
|
protected static org.apache.commons.logging.Log |
log
|
protected java.io.InputStream |
myInputStream
|
protected boolean |
readOnly
|
| Fields inherited from interface org.apache.axis.EngineConfiguration |
PROPERTY_NAME |
| Constructor Summary | |
FileProvider(java.io.InputStream is)
Constructor which takes an input stream directly. |
|
FileProvider(java.lang.String filename)
Constructor which accesses a file in the current directory of the engine or at an absolute path. |
|
FileProvider(java.lang.String basepath,
java.lang.String filename)
Constructor which accesses a file relative to a specific base path. |
|
| 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 |
WSDDDeployment |
getDeployment()
|
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 |
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 |
setDeployment(WSDDDeployment deployment)
|
void |
setSearchClasspath(boolean searchClasspath)
Determine whether or not we will look for a "*-config.wsdd" file on the classpath if we don't find it in the specified location. |
void |
writeEngineConfig(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 |
protected static org.apache.commons.logging.Log log
protected WSDDDeployment deployment
protected java.lang.String filename
protected java.io.File configFile
protected java.io.InputStream myInputStream
protected boolean readOnly
| Constructor Detail |
public FileProvider(java.lang.String filename)
public FileProvider(java.lang.String basepath,
java.lang.String filename)
throws ConfigurationException
public FileProvider(java.io.InputStream is)
| Method Detail |
public WSDDDeployment getDeployment()
public void setDeployment(WSDDDeployment deployment)
public void setSearchClasspath(boolean searchClasspath)
searchClasspath - true if we should search the classpath
public void configureEngine(AxisEngine engine)
throws ConfigurationException
EngineConfigurationconfigureEngine in interface EngineConfigurationorg.apache.axis.EngineConfigurationengine - the AxisEngine we'll deploy state toConfigurationException - if there was a problem
public void writeEngineConfig(AxisEngine engine)
throws ConfigurationException
writeEngineConfig in interface EngineConfigurationorg.apache.axis.EngineConfigurationengine - the AxisEngine from which to read state.ConfigurationException - if there was a problem
public Handler getHandler(QName qname)
throws ConfigurationException
getHandler in interface EngineConfigurationqname - XXXConfigurationException - XXX
public SOAPService getService(QName qname)
throws ConfigurationException
getService in interface EngineConfigurationqname - XXXConfigurationException - XXX
public SOAPService getServiceByNamespaceURI(java.lang.String namespace)
throws ConfigurationException
getServiceByNamespaceURI in interface EngineConfigurationnamespace - a namespace URI
public Handler getTransport(QName qname)
throws ConfigurationException
getTransport in interface EngineConfigurationqname - XXXConfigurationException - XXX
public TypeMappingRegistry getTypeMappingRegistry()
throws ConfigurationException
EngineConfigurationgetTypeMappingRegistry in interface EngineConfiguration
public Handler getGlobalRequest()
throws ConfigurationException
getGlobalRequest in interface EngineConfiguration
public Handler getGlobalResponse()
throws ConfigurationException
getGlobalResponse in interface EngineConfiguration
public java.util.Hashtable getGlobalOptions()
throws ConfigurationException
getGlobalOptions in interface EngineConfiguration
public java.util.Iterator getDeployedServices()
throws ConfigurationException
getDeployedServices in interface EngineConfigurationorg.apache.axis.EngineConfigurationServiceDesc
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||