incubator-river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter_firmst...@apache.org
Subject svn commit: r937160 - /incubator/river/jtsk/trunk/src/net/jini/discovery/StreamServiceRegistrarFacade.java
Date Fri, 23 Apr 2010 05:26:50 GMT
Author: peter_firmstone
Date: Fri Apr 23 05:26:49 2010
New Revision: 937160

URL: http://svn.apache.org/viewvc?rev=937160&view=rev
Log:
A significant number of changes to commence integrating the new StreamServiceRegistrar and
DiscoveryManager2 implementations into Jini's API.

This is very experimental please comment, suggest improvements etc, where new classes should
go etc.

Also please check for backward compatibility issues.

Modified:
    incubator/river/jtsk/trunk/src/net/jini/discovery/StreamServiceRegistrarFacade.java

Modified: incubator/river/jtsk/trunk/src/net/jini/discovery/StreamServiceRegistrarFacade.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/net/jini/discovery/StreamServiceRegistrarFacade.java?rev=937160&r1=937159&r2=937160&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/src/net/jini/discovery/StreamServiceRegistrarFacade.java (original)
+++ incubator/river/jtsk/trunk/src/net/jini/discovery/StreamServiceRegistrarFacade.java Fri
Apr 23 05:26:49 2010
@@ -52,7 +52,8 @@ public class StreamServiceRegistrarFacad
                 return sr.notify(tmpl, transitions, listener, hback, leaseDuration);
             }
             throw new UnsupportedOperationException("Unsupported Method");
-        } catch (Exception e ) {
+        } catch (NoClassDefFoundError er ) {
+            //This is normal for Java CDC.
             throw new UnsupportedOperationException("Unsupported Method");
         }
     }
@@ -64,6 +65,7 @@ public class StreamServiceRegistrarFacad
             return ssr.lookup(tmpl, marshalled);
         }
         throw new UnsupportedOperationException("Not supported yet.");
+        //We could make an empty implementation that doesn't return any matches?
     }
 
     public Class[] getEntryClasses(ServiceTemplate tmpl) throws RemoteException {



Mime
View raw message