RE: Minimal set of component attributes?

"Leo Sutic" <[email protected]> Tue, 18 Mar 2003 09:31:14 +0100
Newsgroups gmane.comp.jakarta.avalon.phoenix.devel
Message-ID <000601c2ed28$be01f7f0$0801a8c0@Lagrange>

> From: Berin Loritsch [mailto:[email protected]] 
>
> @avalon.scope     -- Used to represent the scope of the component,
>                        and consequently the lifestyle.  Values are
>                        "container", "thread", and "request"
 
I was wondering if it isn't better to explicitly specify what the
scope will result in, rather than trying to abstract away from it.

Thus, we'd have "singleton" instead of "threadsafe"/"container",
"pooled" instead of "request".

It seems like everyone equates ThreadSafe -> Singleton anyway, and
honestly this abstraction isn't really giving us very much.

/LS