You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by da...@apache.org on 2005/12/24 03:07:52 UTC

svn commit: r358908 - /webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/ParticipantPort.java

Author: dasarath
Date: Fri Dec 23 18:07:51 2005
New Revision: 358908

URL: http://svn.apache.org/viewcvs?rev=358908&view=rev
Log: (empty)

Added:
    webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/ParticipantPort.java

Added: webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/ParticipantPort.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/ParticipantPort.java?rev=358908&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/ParticipantPort.java (added)
+++ webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/ParticipantPort.java Fri Dec 23 18:07:51 2005
@@ -0,0 +1,66 @@
+/*
+ * Copyright  2004 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.
+ *
+ */
+
+package org.apache.ws.transaction.wsat;
+
+import java.net.URL;
+import java.rmi.RemoteException;
+
+import org.apache.ws.transaction.utility.Service;
+
+
+/**
+ * @author Publishing
+ * 
+ * Created on Jun 14, 2004
+ */
+public class ParticipantPort {
+	ParticipantPortType stub;
+
+	public ParticipantPort(org.apache.axis.message.addressing.EndpointReference epr) {
+		try {
+			stub= new ParticipantStub(new URL(epr.getAddress().toString()), new Service(epr));
+		}
+		catch (Exception e) {
+			throw new IllegalArgumentException(e.toString());
+		}
+	}
+
+	/* (non-Javadoc)
+	 * @see org.apache.ws.transaction.wsat.ParticipantPortType#prepareOperation(org.apache.ws.transaction.wsat.Notification)
+	 */
+	public void prepareOperation() throws RemoteException {
+		// TODO Auto-generated method stub
+		
+	}
+
+	/* (non-Javadoc)
+	 * @see org.apache.ws.transaction.wsat.ParticipantPortType#commitOperation(org.apache.ws.transaction.wsat.Notification)
+	 */
+	public void commitOperation() throws RemoteException {
+		// TODO Auto-generated method stub
+		
+	}
+
+	/* (non-Javadoc)
+	 * @see org.apache.ws.transaction.wsat.ParticipantPortType#rollbackOperation(org.apache.ws.transaction.wsat.Notification)
+	 */
+	public void rollbackOperation() throws RemoteException {
+		// TODO Auto-generated method stub
+		
+	}
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org