Farr, Aaron wrote:


-----Original Message-----
From: Hamilton Verissimo de Oliveira (Engenharia - SPO)
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 9:04 AM
To: Avalon Developers List
Subject: Re: More "academic" ideas [Was: [VOTE] New sandbox project]


-----Mensagem original----- De: Leo Sutic [mailto:[EMAIL PROTECTED]


Since the Avalon 4 spec clearly states the order in which
the lifecycle stages are performed, it makes no sense to
allow the user to change the order for an A4 component.

I'm a fan of:

+ order of additions of aspects doesn't matter

+ all aspects are optional and independent

+ it is hard to get a damaged configuration

+ it is obvious what effects an addition has

Sure. But this is not another "one man show" so we have to reach a common opnion.



The reason I thought about "order matters" was to make it easier to custom lifecyles to be added (ie- lifecycle extensions). Currently lifecycle or stage extensions usually end up being run after something like "initialize()" but that was never clarified in the exalibur-lifecycle package.

I'm sure this is documented - extensions are executed immediately prior to the initialization of the component (create stage) and immediately prior to the disposal of the component (destroy stage). The order of execution of a an extension stage is based on the order in which the stage dependeny is declared.


Stephen.


--


|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/merlin/distributions/latest    |
|------------------------------------------------|

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



Reply via email to