[Wsf-c-commits] svn commit r32821 - in trunk/wsf/cpp: include src/main

nandika at wso2.com nandika at wso2.com
Sun Mar 29 10:10:06 PDT 2009


Author: nandika
Date: Sun Mar 29 10:10:05 2009
New Revision: 32821
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=32821

Log:
Process class renamed to Environment

Added:
   trunk/wsf/cpp/include/Environment.h   (contents, props changed)
      - copied, changed from r32744, /trunk/wsf/cpp/include/Process.h
   trunk/wsf/cpp/src/main/Environment.cpp   (props changed)
      - copied unchanged from r32744, /trunk/wsf/cpp/src/main/Process.cpp
Removed:
   trunk/wsf/cpp/include/Process.h
   trunk/wsf/cpp/src/main/Process.cpp
Modified:
   trunk/wsf/cpp/include/DateTime.h
   trunk/wsf/cpp/include/ServiceSkeleton.h
   trunk/wsf/cpp/include/Stub.h
   trunk/wsf/cpp/include/WSFError.h

Modified: trunk/wsf/cpp/include/DateTime.h
URL: http://wso2.org/svn/browse/wso2/trunk/wsf/cpp/include/DateTime.h?rev=32821&r1=32820&r2=32821&view=diff
==============================================================================
--- trunk/wsf/cpp/include/DateTime.h	(original)
+++ trunk/wsf/cpp/include/DateTime.h	Sun Mar 29 10:10:05 2009
@@ -52,6 +52,7 @@
     public:
         
 		
+		
 		//************************************
 		// Method:    DateTime
 		// FullName:  wso2wsf::DateTime::DateTime

Copied: trunk/wsf/cpp/include/Environment.h (from r32744, /trunk/wsf/cpp/include/Process.h)
URL: http://wso2.org/svn/browse/wso2/trunk/wsf/cpp/include/Environment.h?rev=32821&r1=32744&r2=32821&view=diff
==============================================================================
--- /trunk/wsf/cpp/include/Process.h	(original)
+++ trunk/wsf/cpp/include/Environment.h	Sun Mar 29 10:10:05 2009
@@ -43,7 +43,7 @@
 	/**
 	* @brief class Process. This keeps track of axis2_env_t when running with threads.
 	*/
-	class Process
+	class Environment
 	{
 
 	private:
@@ -51,7 +51,7 @@
 		* @var _env private variable holds reference for
 		* axutil_env struct.
 		*/
-		static Process *_processObj;
+		static Environment *_processObj;
 		
 		static std::map<int, const axutil_env_t*> _envmap;
 
@@ -74,7 +74,7 @@
 		* Return an instance of the Static Process Object
 		*
 		*/
-		static WSF_EXTERN Process* WSF_CALL getInstance();
+		static WSF_EXTERN Environment* WSF_CALL getInstance();
 		/**
 		*	Method to store the current thread specific environment. 
 		*  @param env Pointer to the axutil_env
@@ -102,7 +102,7 @@
 		*/
 		static WSF_EXTERN void WSF_CALL initialize(std::string logFileName,  axutil_log_levels_t logLevel);
 	
-		WSF_CALL ~Process();
+		WSF_CALL ~Environment();
 	};
 	/** @} */
 }

Deleted: trunk/wsf/cpp/include/Process.h
URL: http://wso2.org/svn/browse/wso2/None?pathrev=32820

Modified: trunk/wsf/cpp/include/ServiceSkeleton.h
URL: http://wso2.org/svn/browse/wso2/trunk/wsf/cpp/include/ServiceSkeleton.h?rev=32821&r1=32820&r2=32821&view=diff
==============================================================================
--- trunk/wsf/cpp/include/ServiceSkeleton.h	(original)
+++ trunk/wsf/cpp/include/ServiceSkeleton.h	Sun Mar 29 10:10:05 2009
@@ -99,9 +99,9 @@
          */
 		virtual OMElement* WSF_CALL onFault(OMElement* omEle){return NULL;};
 
-		/**
+	   /**
 		*	Initialization method. Any service specific initialization can be done here.                                                    
-		*
+		*    
 		*/
 		virtual void WSF_CALL init(){};
 		

Modified: trunk/wsf/cpp/include/Stub.h
URL: http://wso2.org/svn/browse/wso2/trunk/wsf/cpp/include/Stub.h?rev=32821&r1=32820&r2=32821&view=diff
==============================================================================
--- trunk/wsf/cpp/include/Stub.h	(original)
+++ trunk/wsf/cpp/include/Stub.h	Sun Mar 29 10:10:05 2009
@@ -56,7 +56,7 @@
 		// Returns:   void
 		// Qualifier:
 		//************************************
-		virtual void populateServices();
+	virtual void populateServices();
 
 
 

Modified: trunk/wsf/cpp/include/WSFError.h
URL: http://wso2.org/svn/browse/wso2/trunk/wsf/cpp/include/WSFError.h?rev=32821&r1=32820&r2=32821&view=diff
==============================================================================
--- trunk/wsf/cpp/include/WSFError.h	(original)
+++ trunk/wsf/cpp/include/WSFError.h	Sun Mar 29 10:10:05 2009
@@ -23,14 +23,14 @@
 
 #define WSF_LOG_PROJECT_PREFIX "[WSFCPP]"
 
-#define WSF_LOG_USER_MSG(msg) AXIS2_LOG_USER(Process::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
+#define WSF_LOG_USER_MSG(msg) AXIS2_LOG_USER(Environment::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
 
-#define WSF_LOG_DEBUG_MSG( msg) AXIS2_LOG_DEBUG (Process::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
-#define WSF_LOG_INFO_MSG( msg) AXIS2_LOG_INFO (Process::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
-#define WSF_LOG_WARNING_MSG( msg) AXIS2_LOG_WARNING (Process::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
-#define WSF_LOG_ERROR_MSG( msg) AXIS2_LOG_ERROR (Process::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
-#define WSF_LOG_CRITICAL_MSG( msg) AXIS2_LOG_CRITICAL (Process::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
-#define WSF_LOG_TRACE_MSG( msg) AXIS2_LOG_TRACE (Process::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
+#define WSF_LOG_DEBUG_MSG( msg) AXIS2_LOG_DEBUG (Environment::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
+#define WSF_LOG_INFO_MSG( msg) AXIS2_LOG_INFO (Environment::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
+#define WSF_LOG_WARNING_MSG( msg) AXIS2_LOG_WARNING (Environment::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
+#define WSF_LOG_ERROR_MSG( msg) AXIS2_LOG_ERROR (Environment::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
+#define WSF_LOG_CRITICAL_MSG( msg) AXIS2_LOG_CRITICAL (Environment::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
+#define WSF_LOG_TRACE_MSG( msg) AXIS2_LOG_TRACE (Environment::getEnv()->log, AXIS2_LOG_SI, "%s %s", WSF_LOG_PROJECT_PREFIX, msg)
 
 
 #define CREATION_OF_EXECUTION_ENVIRONMENT_FAILED "Creation of Execution Environment Failed"

Deleted: trunk/wsf/cpp/src/main/Process.cpp
URL: http://wso2.org/svn/browse/wso2/None?pathrev=32820



More information about the Wsf-c-commits mailing list