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/10/26 08:29:43 UTC

cvs commit: ws-axis/c/include/axis/wsdd WSDDDeployment.h WSDDDocument.h

susantha    2003/10/26 00:29:43

  Modified:    c/include/axis/common Handler.h
               c/include/axis/wsdd WSDDDeployment.h WSDDDocument.h
  Log:
  Any left overs of uncommited files :)
  
  Revision  Changes    Path
  1.4       +3 -3      ws-axis/c/include/axis/common/Handler.h
  
  Index: Handler.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/common/Handler.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Handler.h	24 Oct 2003 08:29:18 -0000	1.3
  +++ Handler.h	26 Oct 2003 07:29:43 -0000	1.4
  @@ -68,9 +68,9 @@
   
   #include "BasicHandler.h"
   #include <map>
  -#ifdef _DEBUG
  -	#include "AxisTrace.h"
  -#endif
  +//#ifdef _DEBUG
  +//	#include "AxisTrace.h"
  +//#endif
   using namespace std;
   
   class Handler : public BasicHandler
  
  
  
  1.4       +5 -0      ws-axis/c/include/axis/wsdd/WSDDDeployment.h
  
  Index: WSDDDeployment.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/wsdd/WSDDDeployment.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WSDDDeployment.h	23 Oct 2003 07:08:16 -0000	1.3
  +++ WSDDDeployment.h	26 Oct 2003 07:29:43 -0000	1.4
  @@ -80,6 +80,8 @@
   
   using namespace std;
   
  +enum DEPLOYMENTTYPE {DT_DEPLOYMENT, DT_UNDEPLOYMENT};
  +
   class WSDDDeployment : public IDeployerUtils
   {
   	friend class WSDDDocument;
  @@ -95,6 +97,7 @@
   	const WSDDHandlerList* GetTransportRequestFlowHandlers(AXIS_PROTOCOL_TYPE protocol);
   	const WSDDHandlerList* GetTransportResponseFlowHandlers(AXIS_PROTOCOL_TYPE protocol);
   	const WSDDServiceMap* GetWSDDServiceMap() const;
  +	DEPLOYMENTTYPE GetDeploymentType() const;
   	WSDDDeployment();
   	virtual ~WSDDDeployment();
   private: //methods that only be used by WSDDDepolyment.
  @@ -103,6 +106,7 @@
   	int AddHandler(bool bGlobal, bool bRequestFlow, WSDDHandler* pHandler, AXIS_PROTOCOL_TYPE protocol=APTHTTP);
   	int RemoveService(string sServiceName);
   	int RemoveHandler(bool bGlobal, bool bRequestFlow, WSDDHandler* pHandler, AXIS_PROTOCOL_TYPE protocol=APTHTTP);
  +	void SetDeploymentType(DEPLOYMENTTYPE nType);
   private:
   	WSDDServiceMap* m_DeployedServices;
   	WSDDHandlerList* m_GlobalRequestHandlers;
  @@ -111,6 +115,7 @@
   	map<AxisString, int>* m_pLibNameIdMap;
   	AxisString m_sAux;
   	string m_sWSDDPath;
  +	DEPLOYMENTTYPE m_DeplType;
   };
   
   #endif // !defined(AFX_WSDDDEPLOYMENT_H__2B3E0205_06F3_47C1_8D9C_479CBFB8ACC2__INCLUDED_)
  
  
  
  1.2       +11 -0     ws-axis/c/include/axis/wsdd/WSDDDocument.h
  
  Index: WSDDDocument.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/wsdd/WSDDDocument.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WSDDDocument.h	20 Oct 2003 03:18:20 -0000	1.1
  +++ WSDDDocument.h	26 Oct 2003 07:29:43 -0000	1.2
  @@ -119,11 +119,22 @@
   	~WSDDDocument();
   	int ParseDocument(const AxisChar* sWSDD);
   	int GetDeployment(const AxisChar* sWSDD, WSDDDeployment* pDeployment);
  +
  +    // -----------------------------------------------------------------------
  +    //  Implementations of the SAX DocumentHandler interface
  +    // -----------------------------------------------------------------------
   	void startElement(const XMLCh *const uri, const XMLCh *const localname,	const XMLCh *const qname, const Attributes &attrs);
   	void characters (const XMLCh *const chars, const unsigned int length);
   	void endElement (const XMLCh *const uri, const XMLCh *const localname,	const XMLCh *const qname);
   	void startPrefixMapping(const XMLCh* const prefix, const XMLCh* const uri);
   	void endPrefixMapping(const XMLCh* const prefix);
  +
  +	// -----------------------------------------------------------------------
  +    //  Implementations of the SAX ErrorHandler interface
  +    // -----------------------------------------------------------------------
  +    void warning(const SAXParseException& exception);
  +    void error(const SAXParseException& exception);
  +    void fatalError(const SAXParseException& exception);
   };
   
   #endif //__WSDDDOCUMENTS_H_INCLUDED__