00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #if !defined(AXIS_REQUESTSCOPEHANDLERPOOL_H__INCLUDED_)
00019 #define AXIS_REQUESTSCOPEHANDLERPOOL_H__INCLUDED_
00020
00021 #include "SharedObject.h"
00022 #include <axis/server/BasicHandler.h>
00023
00024 #include <map>
00025 #include <list>
00026 #include <string>
00027
00028 using namespace std;
00029
00030
00031
00032
00033
00034
00035
00036
00037 class RequestScopeHandlerPool:protected SharedObject
00038 {
00039 public:
00040 RequestScopeHandlerPool ();
00041 virtual ~ RequestScopeHandlerPool ();
00042 private:
00043 map < int, list <BasicHandler*> >m_Handlers;
00044 public:
00045 int GetInstance (BasicHandler** pHandler, int nLibId);
00046 int PutInstance (BasicHandler* pHandler, int nLibId);
00047 };
00048
00049 #endif