geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/specs/jsr77/src/java/javax/management/j2ee ListenerRegistration.java
Date Fri, 15 Aug 2003 23:40:27 GMT
jboynes     2003/08/15 16:40:27

  Modified:    specs/jsr77/src/java/javax/management/j2ee
                        ListenerRegistration.java
  Log:
  ListenerRegistration is an interface not a class
  From Maas van den Berg [email@dds.nl]
  
  Revision  Changes    Path
  1.3       +4 -8      incubator-geronimo/specs/jsr77/src/java/javax/management/j2ee/ListenerRegistration.java
  
  Index: ListenerRegistration.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/specs/jsr77/src/java/javax/management/j2ee/ListenerRegistration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ListenerRegistration.java	14 Aug 2003 22:20:25 -0000	1.2
  +++ ListenerRegistration.java	15 Aug 2003 23:40:27 -0000	1.3
  @@ -75,12 +75,8 @@
    *
    * @version $Revision$
    */
  -public class ListenerRegistration implements Serializable {
  -    public void addNotificationListener(ObjectName name, NotificationListener listener,
NotificationFilter filter, Object handback) throws InstanceNotFoundException, RemoteException
{
  -        /*@todo 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 {
  -        /*@todo implement*/
  -    }
  +    public void removeNotificationListener(ObjectName name, NotificationListener listener)
throws InstanceNotFoundException, ListenerNotFoundException, RemoteException;
   }
  
  
  

Mime
View raw message