Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

AxisConfig Class Reference

class for taking configuration parameters. More...

#include <AxisConfig.h>

List of all members.

Public Methods

int readConfFile ()
char * getAxisConfProperty (g_axconfig property)


Detailed Description

class for taking configuration parameters.

The purpose of this class is to provide a way so that the server takes the configuration path where the axiscpp.conf lies from the environment variable AXIS_HOME. User has to set this variable pointing the path to axiscpp.conf file. This axiscpp.conf file contains all the configuration paths like wsdd configuration file path, axis log path etc.

Author:
Damitha Kumarage (damitha@opensource.lk, damitha@jkcsworld.com)


Member Function Documentation

char* AxisConfig::getAxisConfProperty g_axconfig    property
 

This is called to get the value of a property as defined by the g_axconfig enumeration.

Returns:
the $AXIS_HOME value

int AxisConfig::readConfFile  
 

This method will read from the configuration file called axiscpp.conf which is located in a place defined by AXIS_HOME environment variable.

Returns:
The status which indicates whether the operation is success (AXIS_SUCCESS) or not (AXIS_FAIL).


The documentation for this class was generated from the following file:
Generated on Tue Jun 29 09:27:58 2004 for AxisC++ by doxygen1.2.18