avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component ComponentHandler.java
Date Thu, 11 Dec 2003 14:18:00 GMT
sylvain     2003/12/11 06:18:00

  Modified:    component/src/java/org/apache/avalon/excalibur/component
                        ComponentHandler.java
  Log:
  Prefixing with "component-manager" is even better.
  
  Revision  Changes    Path
  1.3       +3 -3      avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/ComponentHandler.java
  
  Index: ComponentHandler.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/ComponentHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ComponentHandler.java	11 Dec 2003 14:15:33 -0000	1.2
  +++ ComponentHandler.java	11 Dec 2003 14:18:00 -0000	1.3
  @@ -377,7 +377,7 @@
           ThreadSafeComponentHandler handler = new ThreadSafeComponentHandler( componentInstance
);
           
           // Use the class name as intrument name
  -        handler.setInstrumentableName( componentInstance.getClass().getName() );
  +        handler.setInstrumentableName( ExcaliburComponentManager.INSTRUMENTABLE_NAME +
"." + componentInstance.getClass().getName() );
           
           return handler;
       }
  @@ -391,7 +391,7 @@
       public ComponentHandler()
       {
           // Initialize the Instrumentable elements.
  -        setInstrumentableName( "unnamed handler" );
  +        setInstrumentableName( ExcaliburComponentManager.INSTRUMENTABLE_NAME + ".unnamed
handler" );
           addInstrument( m_referencesInstrument = new ValueInstrument( "references" ) );
           addInstrument( m_getsInstrument = new CounterInstrument( "gets" ) );
           addInstrument( m_putsInstrument = new CounterInstrument( "puts" ) );
  
  
  

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


Mime
View raw message