|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.configuration.FileProvider
A simple ConfigurationProvider that uses the Admin class to read + write XML files.
| Field Summary |
| Fields inherited from interface org.apache.axis.EngineConfiguration |
PROPERTY_NAME |
| Constructor Summary | |
FileProvider(InputStream is)
Constructor which takes an input stream directly. |
|
FileProvider(String filename)
Constructor which accesses a file in the current directory of the engine or at an absolute path. |
|
FileProvider(String basepath,
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. |
Iterator |
getDeployedServices()
Get an enumeration of the services deployed to this engine |
WSDDDeployment |
getDeployment()
|
Hashtable |
getGlobalOptions()
Returns the global configuration options. |
Handler |
getGlobalRequest()
Returns a global request handler. |
Handler |
getGlobalResponse()
Returns a global response handler. |
Handler |
getHandler(javax.xml.namespace.QName qname)
retrieve an instance of the named handler |
SOAPService |
getService(javax.xml.namespace.QName qname)
retrieve an instance of the named service |
SOAPService |
getServiceByNamespaceURI(String namespace)
Get a service which has been mapped to a particular namespace |
Handler |
getTransport(javax.xml.namespace.QName qname)
retrieve an instance of the named transport |
TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine |
void |
setDeployment(WSDDDeployment deployment)
|
void |
setInputStream(InputStream is)
|
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 |
| Constructor Detail |
public FileProvider(String filename)
public FileProvider(String basepath, String filename) throws ConfigurationException
public FileProvider(InputStream is)
| Method Detail |
public void setInputStream(InputStream is)
public WSDDDeployment getDeployment()
getDeployment in interface WSDDEngineConfigurationpublic void setDeployment(WSDDDeployment deployment)
public void setSearchClasspath(boolean searchClasspath)
searchClasspath - true if we should search the classpathpublic void configureEngine(AxisEngine engine) throws ConfigurationException
EngineConfiguration
configureEngine in interface EngineConfigurationengine - the AxisEngine we'll deploy state to
ConfigurationException - 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(javax.xml.namespace.QName qname) throws ConfigurationException
getHandler in interface EngineConfigurationqname - XXX
ConfigurationException - XXXpublic SOAPService getService(javax.xml.namespace.QName qname) throws ConfigurationException
getService in interface EngineConfigurationqname - XXX
ConfigurationException - XXXpublic SOAPService getServiceByNamespaceURI(String namespace) throws ConfigurationException
getServiceByNamespaceURI in interface EngineConfigurationnamespace - a namespace URI
ConfigurationExceptionpublic Handler getTransport(javax.xml.namespace.QName qname) throws ConfigurationException
getTransport in interface EngineConfigurationqname - XXX
ConfigurationException - XXXpublic TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
EngineConfiguration
getTypeMappingRegistry in interface EngineConfigurationConfigurationExceptionpublic Handler getGlobalRequest() throws ConfigurationException
getGlobalRequest in interface EngineConfigurationConfigurationExceptionpublic Handler getGlobalResponse() throws ConfigurationException
getGlobalResponse in interface EngineConfigurationConfigurationExceptionpublic Hashtable getGlobalOptions() throws ConfigurationException
getGlobalOptions in interface EngineConfigurationConfigurationExceptionpublic Iterator getDeployedServices() throws ConfigurationException
getDeployedServices in interface EngineConfigurationConfigurationExceptionServiceDesc
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||