Main Page   Class Hierarchy   Compound List   File List   Compound Members   Examples  

Handler Class Reference

interface for handlers. More...

#include <Handler.h>

List of all members.

Public Methods

 Handler ()
virtual ~Handler ()
const string & getOption (const string &sArg)
void setOptionList (const map< string, string > *OptionList)
int AXISCALL getType ()

Protected Attributes

const map< string, string > * m_pOption
string m_sEmpty


Detailed Description

interface for handlers.

Author:
Damitha Kumarage (damitha@opensource.lk, damitha@jkcsworld.com) , Roshan Weerasuriya (roshan@opensource.lk, roshanw@jkcsworld.com)


Constructor & Destructor Documentation

Handler::Handler   [inline]
 

Constructor.

virtual Handler::~Handler   [inline, virtual]
 

Destructor.


Member Function Documentation

const string& Handler::getOption const string &    sArg [inline]
 

Returns the value of the given option.

Parameters:
sArg  The option name, i.e key
Returns:
The option value.

int AXISCALL Handler::getType   [inline]
 

Gets and returns the type of the handler. The return value here is always NORMAL_HANDLER.

Returns:
returns the type of the handler. The return value here is always NORMAL_HANDLER.

void Handler::setOptionList const map< string, string > *    OptionList [inline]
 

This method is automatically called by the Axis Engine when it loads a Handler. The purpose of this method is described below: For each Handler we could configure various parameters/options in the Server.wsdd or Client.wsdd. If the engine finds any such options then the engine will automaticaly call this method of each handler and will set those options to each Handler by calling this method of each Handler which those configuration options belong to. Normaly a Handler writer doesn't need to interact/deal with this method.

Parameters:
OptionList  The map which contains the options to be set.


Member Data Documentation

const map<string, string>* Handler::m_pOption [protected]
 

Used to store the options which are configured in the WSDD.

string Handler::m_sEmpty [protected]
 

Represents an empty string.


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 19:13:24 2004 for axiscpp by doxygen1.2.18