avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application AppLifecycleHelper.java DefaultApplication.java
Date Sun, 19 May 2002 03:21:55 GMT
donaldp     02/05/18 20:21:55

  Modified:    src/java/org/apache/avalon/phoenix/components/application
                        AppLifecycleHelper.java DefaultApplication.java
  Log:
  Rename
    getAppListenerSupport --> getListenerSupport
  
  to match with change of class name.
  
  Revision  Changes    Path
  1.11      +1 -1      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/AppLifecycleHelper.java
  
  Index: AppLifecycleHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/AppLifecycleHelper.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AppLifecycleHelper.java	19 May 2002 03:19:24 -0000	1.10
  +++ AppLifecycleHelper.java	19 May 2002 03:21:55 -0000	1.11
  @@ -114,7 +114,7 @@
           }
       }
   
  -    ListenerSupport getAppListenerSupport()
  +    ListenerSupport getListenerSupport()
       {
           return m_listenerSupport;
       }
  
  
  
  1.20      +5 -5      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/DefaultApplication.java
  
  Index: DefaultApplication.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/DefaultApplication.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- DefaultApplication.java	19 May 2002 02:35:26 -0000	1.19
  +++ DefaultApplication.java	19 May 2002 03:21:55 -0000	1.20
  @@ -342,13 +342,13 @@
           if( PHASE_STARTUP == name )
           {
               //... for startup, so indicate to applicable listeners
  -            m_lifecycle.getAppListenerSupport().
  +            m_lifecycle.getListenerSupport().
                   fireApplicationStartingEvent( m_sarMetaData );
           }
           else
           {
               //... for shutdown, so indicate to applicable listeners
  -            m_lifecycle.getAppListenerSupport().applicationStopping();
  +            m_lifecycle.getListenerSupport().applicationStopping();
           }
   
           //Process blocks, one by one.
  @@ -381,7 +381,7 @@
                   final String message =
                       REZ.getString( "app.error.run-phase", name, block, e.getMessage() );
                   getLogger().error( message, e );
  -                m_lifecycle.getAppListenerSupport().applicationFailure( e );
  +                m_lifecycle.getListenerSupport().applicationFailure( e );
                   throw e;
               }
   
  @@ -397,12 +397,12 @@
           if( PHASE_STARTUP == name )
           {
               //... for startup, so indicate to applicable listeners
  -            m_lifecycle.getAppListenerSupport().applicationStarted();
  +            m_lifecycle.getListenerSupport().applicationStarted();
           }
           else
           {
               //... for shutdown, so indicate to applicable listeners
  -            m_lifecycle.getAppListenerSupport().applicationStopped();
  +            m_lifecycle.getListenerSupport().applicationStopped();
           }
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message