You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ja...@apache.org on 2004/10/20 13:02:44 UTC
cvs commit: ws-fx/sandesha/src/org/apache/sandesha/ws/rm/providers RMProvider.java
jaliya 2004/10/20 04:02:44
Modified: sandesha/src/org/apache/sandesha/ws/rm/providers
RMProvider.java
Log:
Added a static variable to hold the endpoint that the provider is used. This is mainly to identify whether we are at client side or the server side
Revision Changes Path
1.20 +7 -1 ws-fx/sandesha/src/org/apache/sandesha/ws/rm/providers/RMProvider.java
Index: RMProvider.java
===================================================================
RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/ws/rm/providers/RMProvider.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- RMProvider.java 13 Sep 2004 11:25:22 -0000 1.19
+++ RMProvider.java 20 Oct 2004 11:02:44 -0000 1.20
@@ -68,6 +68,8 @@
* @throws Exception
*/
+ private static boolean client = false;
+
public void processMessage(MessageContext msgContext, SOAPEnvelope reqEnv,
SOAPEnvelope resEnv, Object obj) throws Exception {
@@ -484,5 +486,9 @@
return envelope;
}
-
+ //TODO
+ //NEED TO CHECK THIS METHOD.
+ public void setClient(boolean client) {
+ RMProvider.client = client;
+ }
}