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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to