Thanks to the apiComparator plugin for IDEA:
- ListenerRegistration is a interface not a class (what was I thinking)

Maas


? incubator-geronimo/specs/jsr77/target
Index: 
incubator-geronimo/specs/jsr77/src/java/javax/management/j2ee/ListenerRegistration.java
===================================================================
RCS file: 
/home/cvspublic/incubator-geronimo/specs/jsr77/src/java/javax/management/j2ee/ListenerRegistration.java,v
retrieving revision 1.2
diff -u -r1.2 ListenerRegistration.java
--- 
incubator-geronimo/specs/jsr77/src/java/javax/management/j2ee/ListenerRegistration.java
     14 Aug 2003 22:20:25 -0000      1.2
+++ 
incubator-geronimo/specs/jsr77/src/java/javax/management/j2ee/ListenerRegistration.java
     15 Aug 2003 22:03:00 -0000
@@ -75,12 +75,8 @@
  *
  * @version $Revision: 1.2 $
  */
-public class ListenerRegistration implements Serializable {
-    public void addNotificationListener(ObjectName name, NotificationListener 
listener, NotificationFilter filter, Object handback) throws 
InstanceNotFoundException, RemoteException {
-        /[EMAIL PROTECTED] implement*/
-    }
+public interface ListenerRegistration extends Serializable {
+    public void addNotificationListener(ObjectName name, NotificationListener 
listener, NotificationFilter filter, Object handback) throws 
InstanceNotFoundException, RemoteException;
 
-    public void removeNotificationListener(ObjectName name, 
NotificationListener listener) throws InstanceNotFoundException, 
ListenerNotFoundException, RemoteException {
-        /[EMAIL PROTECTED] implement*/
-    }
+    public void removeNotificationListener(ObjectName name, 
NotificationListener listener) throws InstanceNotFoundException, 
ListenerNotFoundException, RemoteException;
 }

Reply via email to