You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Leif Mortenson <le...@tanukisoftware.com> on 2002/08/05 06:41:11 UTC

Fortress + InstrumentManager

I made a couple additions to Fortress today to get it up and running 
with the InstrumentManager.
It looked like work had been started but not yet completed (?).

There were no api changes, so everything should work as is.   The 
changes were to make the
ComponentFactory and ComponentHandler register components with the 
Instrument Manager
when instances are created.  The instrument names are now generated 
using the id in the
configuration file.

I also updated the swing example application to demonstrate the new 
functionality.

To see the changes in action, run the swing fortress example along with 
the instrument client
example.

Berin, could you please take a look at the changes and make sure that 
they do not clash with
any of your design goals?


One Question about Fortress is how loggers should be handled. 
 Currently, the InstrumentManager,
RoleManager, LoggerManager etc. are all assigned the root logger in 
ContextManager.  The
problem is that this makes it impossible (??) to filter the logging of 
anything other than the actual
components.  Which can have their logger specified using the logger 
attribute.

When working with the ECM, I usually assigned loggers to the various 
system managers as follows.
ComponentManager = "cm", LoggerManager="lm", RoleManager="rm", 
InstrumentManager="im".
You can see an example of this being done in the instrument example_icm 
example.  The benefit
of doing it this way is that the log level for the individual managers 
can be set independently.  The
InstrumentManager, for example, kicks out quite a bit of debug 
information when fully enabled.

Cheers,
Leif


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Fortress + InstrumentManager

Posted by Marcus Crafter <cr...@fztig938.bank.dresdner.net>.
On Mon, Aug 05, 2002 at 01:41:11PM +0900, Leif Mortenson wrote:
> I made a couple additions to Fortress today to get it up and running 
> with the InstrumentManager.
> It looked like work had been started but not yet completed (?).
> 
> There were no api changes, so everything should work as is.   The 
> changes were to make the
> ComponentFactory and ComponentHandler register components with the 
> Instrument Manager
> when instances are created.  The instrument names are now generated 
> using the id in the
> configuration file.
> 
> I also updated the swing example application to demonstrate the new 
> functionality.
> 
> To see the changes in action, run the swing fortress example along with 
> the instrument client
> example.

	Thanks for that Lief, I'll take a look at the changes you made. :)
	
	Cheers,
	
	Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>