You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by su...@apache.org on 2003/08/06 12:26:37 UTC
cvs commit: xml-axis/c/src/wsdd WSDDHandler.h WSDDHandler.cpp WSDDDeployment.h WSDDDeployment.cpp
susantha 2003/08/06 03:26:37
Modified: c/src/wsdd WSDDHandler.h WSDDHandler.cpp WSDDDeployment.h
WSDDDeployment.cpp
Log:
some functions needed for improvement of AxisEngine for efficiency and thread safety
Revision Changes Path
1.4 +5 -1 xml-axis/c/src/wsdd/WSDDHandler.h
Index: WSDDHandler.h
===================================================================
RCS file: /home/cvs/xml-axis/c/src/wsdd/WSDDHandler.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WSDDHandler.h 5 Aug 2003 07:20:05 -0000 1.3
+++ WSDDHandler.h 6 Aug 2003 10:26:37 -0000 1.4
@@ -80,11 +80,14 @@
using namespace std;
+enum AXIS_HANDLER_SCOPE {AH_APPLICATION=1, AH_SESSION, AH_REQUEST};
+
class WSDDHandler
{
public:
virtual string& GetLibName();
- int GetLibID();
+ virtual int GetLibID();
+ virtual int GetScope();
virtual void SetLibName(string& sLibName);
WSDDHandler();
virtual ~WSDDHandler();
@@ -94,6 +97,7 @@
protected:
int m_nLibId;
+ int m_nScope;
string m_sName;
string m_sLibName;
map<string, string>* m_Option;
1.4 +5 -0 xml-axis/c/src/wsdd/WSDDHandler.cpp
Index: WSDDHandler.cpp
===================================================================
RCS file: /home/cvs/xml-axis/c/src/wsdd/WSDDHandler.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WSDDHandler.cpp 5 Aug 2003 07:20:05 -0000 1.3
+++ WSDDHandler.cpp 6 Aug 2003 10:26:37 -0000 1.4
@@ -97,6 +97,11 @@
return m_sLibName;
}
+int WSDDHandler::GetScope()
+{
+ return m_nScope;
+}
+
string WSDDHandler::GetOption(string sArg)
{
return (*m_Option)[sArg];
1.3 +1 -0 xml-axis/c/src/wsdd/WSDDDeployment.h
Index: WSDDDeployment.h
===================================================================
RCS file: /home/cvs/xml-axis/c/src/wsdd/WSDDDeployment.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- WSDDDeployment.h 27 Jul 2003 10:04:41 -0000 1.2
+++ WSDDDeployment.h 6 Aug 2003 10:26:37 -0000 1.3
@@ -84,6 +84,7 @@
class WSDDDeployment
{
public:
+ string& GetLibName(int nLibId);
int SetServices(WSDDServiceMap * svs);
WSDDService* GetService(string& sServiceName);
int LoadWSDD(string& sWSDD);
1.4 +6 -0 xml-axis/c/src/wsdd/WSDDDeployment.cpp
Index: WSDDDeployment.cpp
===================================================================
RCS file: /home/cvs/xml-axis/c/src/wsdd/WSDDDeployment.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WSDDDeployment.cpp 27 Jul 2003 10:04:41 -0000 1.3
+++ WSDDDeployment.cpp 6 Aug 2003 10:26:37 -0000 1.4
@@ -191,3 +191,9 @@
+
+string& WSDDDeployment::GetLibName(int nLibId)
+{
+ string xx;
+ return xx;
+}