On Thu, 21 Jun 2001, Donald Ball wrote:

> i've been confused about this for a while, and i'd appreciate a quick
> overview (a pointer to avalon docs would be fine). there are a lot of
> lifecycle methods for avalon components whose purposes are somewhat
> unknown to me:
>
> compose()
> dispose()
> recycle()
> setup()
> configure()
>
> i can mostly guess, but i'd like it if someone could mention concretely
> what's called when, that'd be fab.

You should really read the avalon site. There a alot of good
information. Also Berin has written a very good whitepaper about Avalon.
We here at our company (Otego AG, Switzerland) almost only use Avalon
components to build our apps. It's one of the coolest frameworks I know
for COP (beside Cocoon ;-)

http://jakarta.apache.org/avalon/framework/lifecycle.html

for life cycle information

>also, what's the difference between a
> ComponentManager and a ComponentSelector?

A ComponentManager manages one-to-one relations of a role and its
implementaion where a role is like a unique key to the ComponentManager.

A ComponentSelector manages one-to-many relations of a role and its
implementations. And thus a ComponentSelector is a component which
represents an implementation of a role to the Componentmanager while the
ComponentSelector itsel manages all the implementations available for
that role it represents.

Hope that helps.

Giacomo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to