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 th...@apache.org on 2006/02/10 20:06:15 UTC

svn commit: r376797 - /webservices/kandula/trunk/java/src/org/apache/kandula/coordinator/at/ATParticipantInformation.java

Author: thilina
Date: Fri Feb 10 11:06:13 2006
New Revision: 376797

URL: http://svn.apache.org/viewcvs?rev=376797&view=rev
Log:
Mistakenly not added last time....
ATParticipantInformation.java will store details about the participants in the coordinator

Added:
    webservices/kandula/trunk/java/src/org/apache/kandula/coordinator/at/ATParticipantInformation.java

Added: webservices/kandula/trunk/java/src/org/apache/kandula/coordinator/at/ATParticipantInformation.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/trunk/java/src/org/apache/kandula/coordinator/at/ATParticipantInformation.java?rev=376797&view=auto
==============================================================================
--- webservices/kandula/trunk/java/src/org/apache/kandula/coordinator/at/ATParticipantInformation.java (added)
+++ webservices/kandula/trunk/java/src/org/apache/kandula/coordinator/at/ATParticipantInformation.java Fri Feb 10 11:06:13 2006
@@ -0,0 +1,93 @@
+/*
+ * 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.kandula.coordinator.at;
+
+import org.apache.axis2.addressing.EndpointReference;
+
+/**
+ * @author <a href="mailto:thilina@opensource.lk"> Thilina Gunarathne </a> <p/>
+ *         Used to store the details about the participant & to store the
+ *         runtime status of Participants in the coordinator.
+ */
+//TODO see whether we can avoid this class
+public class ATParticipantInformation {
+
+	private EndpointReference epr;
+
+	private String protocol;
+
+	private int status;
+
+	private String enlistmentId;
+
+	/**
+	 * @param epr
+	 * @param protocol
+	 * @param enlistmentId
+	 */
+	public ATParticipantInformation(EndpointReference epr, String protocol,
+			String enlistmentId) {
+		super();
+		this.epr = epr;
+		this.protocol = protocol;
+		this.enlistmentId = enlistmentId;
+	}
+
+	/**
+	 * @return Returns the enlistmentId.
+	 */
+	public String getEnlistmentId() {
+		return enlistmentId;
+	}
+
+	/**
+	 * @return Returns the epr.
+	 */
+	public EndpointReference getEpr() {
+		return epr;
+	}
+
+	/**
+	 * @param epr -
+	 *            The epr to set.
+	 */
+	public void setEpr(EndpointReference epr) {
+		this.epr = epr;
+	}
+
+	/**
+	 * @return Returns the status.
+	 */
+	public int getStatus() {
+		return status;
+	}
+
+	/**
+	 * @param status -
+	 *            The status to set.
+	 */
+	public void setStatus(int status) {
+		this.status = status;
+	}
+
+	/**
+	 * @return Returns the protocol.
+	 */
+	public String getProtocol() {
+		return protocol;
+	}
+}
\ No newline at end of file



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