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

RequestScopeHandlerPool.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 #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  *   @class RequestScopeHandlerPool
00031  *   @brief interface for the RequestScopeHandlerPool class.
00032  *
00033  *
00034  *   @author Susantha Kumara (skumara@virtusa.com)
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 

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