commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib RemoteExceptionCoordinator.java RemoteExceptionListener.java
Date Tue, 14 Oct 2003 19:14:25 GMT
hlship      2003/10/14 12:14:25

  Modified:    hivemind/library/src/java/org/apache/commons/hivemind/lib/impl
                        AbstractEJBProxy.java
                        RemoteExceptionCoordinatorImpl.java
                        NameLookupImpl.java
               hivemind/library/src/java/org/apache/commons/hivemind/lib
                        RemoteExceptionCoordinator.java
                        RemoteExceptionListener.java
  Log:
  Minor name tweaks to RemoteExceptionCoordinator and RemoteExceptionListener method names.
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/AbstractEJBProxy.java
  
  Index: AbstractEJBProxy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/AbstractEJBProxy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AbstractEJBProxy.java	12 Oct 2003 09:50:11 -0000	1.2
  +++ AbstractEJBProxy.java	14 Oct 2003 19:14:25 -0000	1.3
  @@ -83,7 +83,7 @@
   
           _coordinator.addRemoteExceptionListener(new RemoteExceptionListener()
           {
  -            public void remoteException(RemoteExceptionEvent event)
  +            public void remoteExceptionDidOccur(RemoteExceptionEvent event)
               {
                   _clearCachedReferences();
               }
  @@ -103,6 +103,6 @@
   
       protected void _fireRemoteExceptionNotification(RemoteException ex)
       {
  -        _coordinator.sendNotifications(this, ex);
  +        _coordinator.fireRemoteExceptionDidOccur(this, ex);
       }
   }
  
  
  
  1.4       +3 -3      jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/RemoteExceptionCoordinatorImpl.java
  
  Index: RemoteExceptionCoordinatorImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/RemoteExceptionCoordinatorImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RemoteExceptionCoordinatorImpl.java	12 Oct 2003 09:50:11 -0000	1.3
  +++ RemoteExceptionCoordinatorImpl.java	14 Oct 2003 19:14:25 -0000	1.4
  @@ -105,7 +105,7 @@
           _listeners.remove(listener);
       }
   
  -    public synchronized void sendNotifications(Object source, Throwable exception)
  +    public synchronized void fireRemoteExceptionDidOccur(Object source, Throwable exception)
       {
           checkLocked("sendNotification");
   
  @@ -125,7 +125,7 @@
               {
                   RemoteExceptionListener listener = (RemoteExceptionListener) _listeners.get(i);
   
  -                listener.remoteException(event);
  +                listener.remoteExceptionDidOccur(event);
               }
           }
           finally
  
  
  
  1.5       +3 -3      jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/NameLookupImpl.java
  
  Index: NameLookupImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/NameLookupImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- NameLookupImpl.java	12 Oct 2003 09:50:11 -0000	1.4
  +++ NameLookupImpl.java	14 Oct 2003 19:14:25 -0000	1.5
  @@ -105,7 +105,7 @@
               catch (NamingException ex)
               {
                   if (i++ == 0)
  -                    _coordinator.sendNotifications(this, ex);
  +                    _coordinator.fireRemoteExceptionDidOccur(this, ex);
                   else
                       throw new ApplicationRuntimeException(
                           HiveMind.format("NameLookup.unable-to-lookup", name, context),
  @@ -158,7 +158,7 @@
       /**
        * Sets the InitialContext to null.
        */
  -    public void remoteException(RemoteExceptionEvent event)
  +    public void remoteExceptionDidOccur(RemoteExceptionEvent event)
       {
           _initialContext = null;
       }
  
  
  
  1.3       +2 -2      jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/RemoteExceptionCoordinator.java
  
  Index: RemoteExceptionCoordinator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/RemoteExceptionCoordinator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RemoteExceptionCoordinator.java	12 Oct 2003 09:51:40 -0000	1.2
  +++ RemoteExceptionCoordinator.java	14 Oct 2003 19:14:25 -0000	1.3
  @@ -82,5 +82,5 @@
        * Invoked by an object which has caught a remote exception of some
        * form.
        */
  -    public void sendNotifications(Object source, Throwable exception);
  +    public void fireRemoteExceptionDidOccur(Object source, Throwable exception);
   }
  
  
  
  1.3       +2 -2      jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/RemoteExceptionListener.java
  
  Index: RemoteExceptionListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/RemoteExceptionListener.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RemoteExceptionListener.java	12 Oct 2003 09:51:40 -0000	1.2
  +++ RemoteExceptionListener.java	14 Oct 2003 19:14:25 -0000	1.3
  @@ -71,5 +71,5 @@
   	 * Invoked by  {@link RemoteExceptionCoordinator#sendNotifications(Object, Throwable)}.
   	 */
   	
  -	public void remoteException(RemoteExceptionEvent event);
  +	public void remoteExceptionDidOccur(RemoteExceptionEvent event);
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message