avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Container Abstraction (was RE: ContainerUtil)
Date Wed, 15 May 2002 21:25:16 GMT
On Thu, 16 May 2002 04:37, Leo Simons wrote:
> possible component scopes
> -------------------------
> (from narrow to wide)
>
> request     - one instance per request (perrequest)
> thread      - one instance per thread (perthread)
> container   - one instance per container (no mapping to current setup)
> classloader - one instance per classloader (singleton)
> system      - one instance per JVM (in reality per group of classloaders
>               managed by the container, as you cannot expect a
>               container to be only used in situations where it is always
>               in control of all the classloaders)

I like per-ClassLoader/system ...

> - optional work interface implementations (optional; for optional
>   functionality, default: none)
> - optional work interface versions (required when above is specified)

Is this a useful abstraction. I guess it may be but none of the containers 
currently support this that I am aware of.

-- 
Cheers,

Peter Donald


--
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