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 he...@apache.org on 2005/05/09 12:37:56 UTC

svn commit: r169268 - in /webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi: Call1.java InOutMEPClient.java MEPClient.java ServiceContextFactory.java

Author: hemapani
Date: Mon May  9 03:37:51 2005
New Revision: 169268

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

Added:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call1.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/MEPClient.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/ServiceContextFactory.java

Added: webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call1.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call1.java?rev=169268&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call1.java (added)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call1.java Mon May  9 03:37:51 2005
@@ -0,0 +1,54 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ *  Runtime state of the engine
+ */
+package org.apache.axis.clientapi;
+
+import java.util.HashMap;
+
+import org.apache.axis.addressing.MessageInformationHeadersCollection;
+import org.apache.axis.context.MessageContext;
+import org.apache.axis.context.SystemContext;
+import org.apache.axis.description.AxisService;
+import org.apache.axis.om.OMElement;
+
+/**
+ * @author hemapani
+ *
+ * To change the template for this generated type comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class Call1 {
+
+    private MessageInformationHeadersCollection messageInfoHeaders;
+
+    private HashMap properties;
+    
+    
+    
+    public Call1(SystemContext sysContext, AxisService service) {
+
+     }
+
+     public MessageContext invokeBocking(String axisop, OMElement payload) {
+         return null;
+     }
+
+     public MessageContext invokeNonBocking(String axisop, OMElement payload,
+         Callback callback) {
+         return null;
+     }
+}

Added: webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java?rev=169268&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java (added)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java Mon May  9 03:37:51 2005
@@ -0,0 +1,57 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ *  Runtime state of the engine
+ */
+package org.apache.axis.clientapi;
+
+import org.apache.axis.Constants;
+import org.apache.axis.context.MessageContext;
+import org.apache.axis.context.ServiceContext;
+import org.apache.axis.description.AxisOperation;
+
+/**
+ * @author hemapani
+ *
+ * To change the template for this generated type comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class InOutMEPClient {
+
+    private String senderTransport = Constants.TRANSPORT_HTTP;
+    private String Listenertransport = Constants.TRANSPORT_HTTP;
+
+    private boolean useSeparateListener = false;
+
+    //variables use for internal implementations
+    private ListenerManager listenerManager;
+    private CallbackReceiver callbackReceiver;
+
+    public InOutMEPClient(ServiceContext service) {
+        //service context has the engine context set in to it !
+    }
+
+    public MessageContext invokeBocking(AxisOperation axisop, MessageContext msgctx) {
+        return null;
+    }
+
+    public MessageContext invokeNonBocking(
+        AxisOperation axisop,
+        MessageContext msgctx,
+        Callback callback) {
+        return null;
+    }
+
+}

Added: webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/MEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/MEPClient.java?rev=169268&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/MEPClient.java (added)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/MEPClient.java Mon May  9 03:37:51 2005
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ *  Runtime state of the engine
+ */
+package org.apache.axis.clientapi;
+
+import org.apache.axis.context.SystemContext;
+import org.apache.axis.description.AxisOperation;
+import org.apache.axis.description.AxisService;
+
+/**
+ * @author hemapani
+ *
+ * To change the template for this generated type comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class MEPClient {
+    private AxisService service;
+    private AxisOperation axisOperation;
+    private SystemContext engineContext;
+}

Added: webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/ServiceContextFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/ServiceContextFactory.java?rev=169268&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/ServiceContextFactory.java (added)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/ServiceContextFactory.java Mon May  9 03:37:51 2005
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ *  Runtime state of the engine
+ */
+package org.apache.axis.clientapi;
+
+import org.apache.axis.context.ServiceContext;
+import org.apache.axis.context.SystemContext;
+import org.apache.axis.description.AxisService;
+
+/**
+ * @author hemapani
+ *
+ * To change the template for this generated type comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class ServiceContextFactory {
+
+    public static ServiceContext createServiceContext(SystemContext sysContext,AxisService service){
+        return null;
+    }
+}