You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/05/05 12:32:02 UTC

svn commit: r168313 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/EngineContext.java

Author: sanjiva
Date: Thu May  5 03:32:00 2005
New Revision: 168313

URL: http://svn.apache.org/viewcvs?rev=168313&view=rev
Log:
put pseudocode for getService logic

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/EngineContext.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/EngineContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/EngineContext.java?rev=168313&r1=168312&r2=168313&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/EngineContext.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/EngineContext.java Thu May  5 03:32:00 2005
@@ -86,6 +86,13 @@
     }
     
     public ServiceContext getService(QName serviceName){
+    	// change QName to String above
+    	// - look up service name in registry of deployed services (in myself and if not look up in my parent engineConfig
+    	// - if not found error
+    	// - if found, look for reference properties
+    	// - if have reference properties, use ref prop as key to find the servicecontext
+    	// - if no ref props create new servicecontext
+    	// - return servicecontext
         return (ServiceContext)serviceContextMap.get(serviceName);
     
     }