incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r510990 - /incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaInInterceptor.java
Date Fri, 23 Feb 2007 15:47:01 GMT
Author: bravi
Date: Fri Feb 23 07:47:01 2007
New Revision: 510990

URL: http://svn.apache.org/viewvc?view=rev&rev=510990
Log:
[YOKO-170] - Fixed the IN interceptor to not depend on yoko orb specific class.

Modified:
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaInInterceptor.java

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaInInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaInInterceptor.java?view=diff&rev=510990&r1=510989&r2=510990
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaInInterceptor.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/interceptors/CorbaInInterceptor.java
Fri Feb 23 07:47:01 2007
@@ -66,11 +66,11 @@
 import org.apache.yoko.bindings.corba.CorbaUtils;
 import org.apache.yoko.bindings.corba.types.CorbaHandlerUtils;
 import org.apache.yoko.bindings.corba.types.CorbaObjectHandler;
-import org.apache.yoko.orb.CORBA.ServerRequest;
 import org.apache.yoko.wsdl.CorbaConstants;
 import org.omg.CORBA.Any;
 import org.omg.CORBA.NVList;
 import org.omg.CORBA.ORB;
+import org.omg.CORBA.ServerRequest;
 
 public class CorbaInInterceptor extends AbstractPhaseInterceptor<Message> {
     
@@ -135,7 +135,7 @@
         EventDataReader reader = (EventDataReader) ContextUtils.getDataReader(message);
          
         Exchange exchange = message.getExchange();
-        orb = (ORB)exchange.get(ORB.class);        
+        orb = (ORB)exchange.get(ORB.class);
         if (corbaStaxObject != null) {
             corbaStaxObject.setOrb(orb);
         } else {
@@ -143,7 +143,6 @@
         }
 
         String opName = message.getExchange().get(String.class);
-                
         Iterator i = bInfo.getOperations().iterator();
 
         BindingOperationInfo bopInfo = null;
@@ -155,8 +154,7 @@
                 break;
             }
         }
-
-        ServerRequest request = (ServerRequest)exchange.get(org.omg.CORBA.ServerRequest.class);
+        ServerRequest request = exchange.get(ServerRequest.class);
         NVList list = prepareArguments(message, destination, info, opType, opQName);
         request.arguments(list);
         message.setList(list);            



Mime
View raw message