You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2010/04/23 07:26:50 UTC
svn commit: r937160 -
/incubator/river/jtsk/trunk/src/net/jini/discovery/StreamServiceRegistrarFacade.java
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 {