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