proyal      2003/03/16 19:46:42

  Modified:    src/test/org/apache/avalon/phoenix/components/application/test
                        MockApplicationContext.java
  Log:
  Match new ApplicationContext changes
  
  Revision  Changes    Path
  1.7       +13 -1     
avalon-phoenix/src/test/org/apache/avalon/phoenix/components/application/test/MockApplicationContext.java
  
  Index: MockApplicationContext.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-phoenix/src/test/org/apache/avalon/phoenix/components/application/test/MockApplicationContext.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MockApplicationContext.java       1 Mar 2003 08:39:15 -0000       1.6
  +++ MockApplicationContext.java       17 Mar 2003 03:46:42 -0000      1.7
  @@ -17,6 +17,8 @@
   import org.apache.avalon.phoenix.interfaces.ApplicationContext;
   import org.apache.excalibur.threadcontext.ThreadContext;
   import org.apache.excalibur.threadcontext.impl.DefaultThreadContextPolicy;
  +import org.apache.excalibur.instrument.InstrumentManager;
  +import org.apache.excalibur.instrument.manager.NoopInstrumentManager;
   
   /**
    *
  @@ -94,5 +96,15 @@
       public Logger getLogger( String name )
       {
           return m_logger;
  +    }
  +
  +    public InstrumentManager getInstrumentManager()
  +    {
  +        return new NoopInstrumentManager();
  +    }
  +
  +    public String getInstrumentableName( String component )
  +    {
  +        return component;
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to