Main Page Class Hierarchy Compound List File List Compound Members File Members Examples
AxisCPPConfigDefaults Class Reference
class for programmatically setting configuration defaults.
More...
#include <AxisCPPConfigDefaults.hpp>
List of all members.
Detailed Description
class for programmatically setting configuration defaults.
AxisCPPConfigDefaults allows you to apply new configuration defaults, prior to the instantiation of the first web service class in the application. These programmer-set defaults may be over-ridden by the external factors, such as..
- the values in axiscpp.conf
- the value of AXISCPP_DEPLOY
The get/set methods don't have any effect on the ACTUAL defaults. They are mearly a bundle of values which are set on the ACTUAL defaults when the apply() method is issued.
It consists of... (a) get/set methods for each of the values to be found in the configuration file, namely:
- ClientLog
- ClientWSDDFile
- XMLParserLibrary
- HTTPTransportLibrary
- HTTPChannelLibrary
- HTTPSSLChannelLibrary
- NodeName
- ListenPort
- SecureInfo When the first web-services class is instantiated any values set in the config file would over-ride those set by this class. (b) get/set methods for AxisHome This is the programmatic equivaluent of the AXISCPP_DEPLOY environment variable. When the first class is instantiated, if AXISCPP_DEPLOY is set it will over-ride the value set by this class. (c) The apply() method takes any values that have been set on the object and set them as the Axis CPP defaults for this process.
Exceptions thrown: AxisConfigException
Once the first web service is instantiated, new defaults may no longer be applied. If this is attempted an AxisConfigException is thrown.
Usage examples (a) Setting the location of the axiscpp.conf file to the "current working directory"
AxisCPPDefaultConfig defConfig; defConfig.setAxisHome("."); defConfig.apply();
- Author:
-
John Kelly (john_kelly@uk.ibm.com)
The documentation for this class was generated from the following file:
Generated on Fri Mar 3 01:12:36 2006 for AxisC++ by
1.2.18