avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject ECM/Fortress semantic question
Date Thu, 02 Oct 2003 05:18:35 GMT

Thinking about management of ECM/Fortress semantics ...

In an excalibur logger test case there is the following code fragment:

   tc = (TestComponent)lookup( TestComponent.ROLE + "/A" );
   tc.test( getLogEnabledLogger(), "Test log entry A" );

The class in question extends the excalibur component testcase which is 
applying ECM semantics on service lookup.  In this example the string 
'TestComponent.ROLE + "/A"' maps to a "role" name which in turn maps to 
a named component.

If I ignore the mapping - is it save to assume that any "string" passed 
to an ECM/Fortress service or component manager (with the exception of 
<something>/Selector ) can be be mapped directly to a declaration of 
@avalon.dependency key=<value> where <value> is the result of the 
TestComponent.ROLE + "/A" construction?



Stephen J. McConnell

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

View raw message