axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r169287 - in /webservices/axis/trunk/java/modules/core/src/org/apache/axis/context: OperationContext.java ServiceContext.java SystemContext.java
Date Mon, 09 May 2005 11:29:02 GMT
Author: hemapani
Date: Mon May  9 04:29:02 2005
New Revision: 169287

URL: http://svn.apache.org/viewcvs?rev=169287&view=rev
Log:
adding the new Client API info

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/SystemContext.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java?rev=169287&r1=169286&r2=169287&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java
Mon May  9 04:29:02 2005
@@ -201,4 +201,8 @@
 			operationContextMap.remove(outMessageContext.getMessageID());
 		}
 	}
+    
+//    public MessageContext createMessageContext(AxisM){
+//    
+//    }
 }

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java?rev=169287&r1=169286&r2=169287&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java
Mon May  9 04:29:02 2005
@@ -18,8 +18,12 @@
  * 
  */
 
+import javax.xml.namespace.QName;
+
+import org.apache.axis.description.AxisOperation;
 import org.apache.axis.description.AxisService;
 
+
 public class ServiceContext  extends AbstractContext{
     private AxisService serviceConfig;   
     
@@ -55,5 +59,10 @@
     
     public SystemContext getEngineContext(){
         return (SystemContext)parent;
+    }
+    
+    public OperationContext createOperationContext(QName name){
+        AxisOperation axisOp = serviceConfig.getOperation(name);
+        return new OperationContext(axisOp,this);
     }
 }

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/SystemContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/SystemContext.java?rev=169287&r1=169286&r2=169287&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/SystemContext.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/SystemContext.java
Mon May  9 04:29:02 2005
@@ -24,6 +24,7 @@
 
 import javax.xml.namespace.QName;
 
+import org.apache.axis.description.AxisService;
 import org.apache.axis.description.PhasesInclude;
 import org.apache.axis.description.PhasesIncludeImpl;
 import org.apache.axis.engine.AxisFault;
@@ -130,6 +131,12 @@
 
     public void setStorage(AxisStorage storage) {
         this.storage = storage;
+    }
+
+    public ServiceContext createServiceContext(QName serviceName) throws AxisFault {
+        AxisService service = engineConfig.getService(serviceName);
+        ServiceContext serviceContext = new ServiceContext(service, this);
+        return serviceContext;
     }
 
 }



Mime
View raw message