avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Crafter <craft...@managesoft.com>
Subject Re: Class rather than ROLE?
Date Fri, 25 Jul 2003 15:43:05 GMT
Cool - thanks for the clarification :)

Cheers,

Marcus

On Fri, Jul 25, 2003 at 11:27:14AM -0400, Berin Loritsch wrote:
> Marcus Crafter wrote:
> 
> >Hi All,
> >
> >
> >I know this discussion is not new - just wondering what the advantage is
> >with the first approach?
> 
> Pretty soon, all containers will allow you to specify an "alias".  That
> way you can look it up like this:
> 
> Service s = (Service) m_manager.lookup("service");
> 
> The container can read the meta information properly so that it knows how
> to map the short name "service" to the actual component type that is needed.
> 
> If we used the Class object, we run into two problems:
> 
> 1) We can't use the alias
> 2) Classloader issues (not all containers are created equally)

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

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


Mime
View raw message