avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: [ISSUE] containerkit
Date Mon, 08 Jul 2002 12:57:36 GMT
> From: Leo Sutic [mailto:leo.sutic@inspireinfrastructure.com] 
> 
> Peter,
> 
> So if we use two constraints:
> 
>  + What interfaces the Context must implement (that is, to what
>    other type can you cast the aquired Context interface).
> 
>  + What values must it have (that is, what are the keys to the
>    get() method), and what should the type of those values be.

If you specify the other type it can be safely cast to, then the values
it has must be specific to that context.

>  + Being able to remap context entries from the container's namespace
>    to the component's is good. Just like we needed to remap roles,
>    this will avoid namespace collisions.

This is all part of the component meta data spec.


>  + Being able to provide constant values via a config file is open
>    to abuse, but I can see it being useful at times.

Definitely open for abuse, but that is essentially what a context is.


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


Mime
View raw message