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 2006/01/02 20:14:09 UTC
svn commit: r365400 - in
/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/coordinator:
InvalidCoordinationProtocolException.java ParticipantService.java
Author: dasarath
Date: Mon Jan 2 11:14:08 2006
New Revision: 365400
URL: http://svn.apache.org/viewcvs?rev=365400&view=rev
Log: (empty)
Removed:
webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/coordinator/InvalidCoordinationProtocolException.java
Modified:
webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/coordinator/ParticipantService.java
Modified: webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/coordinator/ParticipantService.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/coordinator/ParticipantService.java?rev=365400&r1=365399&r2=365400&view=diff
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/coordinator/ParticipantService.java (original)
+++ webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/coordinator/ParticipantService.java Mon Jan 2 11:14:08 2006
@@ -9,7 +9,7 @@
import org.apache.axis.message.addressing.EndpointReference;
import org.apache.axis.message.addressing.PortType;
import org.apache.axis.message.addressing.ReferencePropertiesType;
-import org.apache.ws.transaction.coordinator.at.BasicParticipant;
+import org.apache.ws.transaction.coordinator.at.AbstractParticipant;
import org.apache.ws.transaction.utility.Callback;
import org.apache.ws.transaction.utility.CallbackRegistry;
import org.apache.ws.transaction.utility.EndpointReferenceFactory;
@@ -37,7 +37,7 @@
public EndpointReference getCompletionInitiatorService(Callback callback,
long timeout) {
- String urn = "uuid" + UUIDGenFactory.getUUIDGen().nextUUID();
+ String urn = "uuid:" + UUIDGenFactory.getUUIDGen().nextUUID();
CallbackRegistry.getInstance().registerCallback(urn, callback, timeout);
ReferencePropertiesType r = new ReferencePropertiesType();
r.add(new MessageElement(CallbackRegistry.CALLBACK_REF, urn));
@@ -46,8 +46,8 @@
}
public EndpointReference getParticipantService(
- final BasicParticipant callback, long timeout) {
- String urn = "uuid" + UUIDGenFactory.getUUIDGen().nextUUID();
+ final AbstractParticipant callback, long timeout) {
+ String urn = "uuid:" + UUIDGenFactory.getUUIDGen().nextUUID();
CallbackRegistry.getInstance().registerCallback(urn, callback, timeout);
ReferencePropertiesType r = new ReferencePropertiesType();
r.add(new MessageElement(CallbackRegistry.CALLBACK_REF, urn));
---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org