Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

AppScopeHandlerPool.h

00001 /* -*- C++ -*- */
00002 /*
00003  *   Copyright 2003-2004 The Apache Software Foundation.
00004  *
00005  *   Licensed under the Apache License, Version 2.0 (the "License");
00006  *   you may not use this file except in compliance with the License.
00007  *   You may obtain a copy of the License at
00008  *
00009  *       http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  *   Unless required by applicable law or agreed to in writing, software
00012  *   distributed under the License is distributed on an "AS IS" BASIS,
00013  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *   See the License for the specific language governing permissions and
00015  *   limitations under the License.
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  *   @class AppScopeHandlerPool
00033  *   @brief interface for the AppScopeHandlerPool class.
00034  *
00035  *
00036  *   @author Susantha Kumara (skumara@virtusa.com)
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 

Generated on Fri Apr 9 12:21:28 2004 for axiscpp by doxygen1.2.18