avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@apache.org>
Subject Re: [patches] Fortress and Event
Date Wed, 04 Dec 2002 12:10:35 GMT
On Tuesday, December 3, 2002, at 11:40  PM, Christopher Kohlhaas wrote:
> Yes, but shouldn't LEAwareComponentHandler delegate all lifecycle
> methods to the delegatee then. Is there any reason for not delegating
> the complete lifecycle?

Since it is a wrapper, it is given a component that is already been 
through the startup portion of the lifecycle, it would only need to 
delegate the shutdown half.

> As a consequence of this modifications, either all possible
> ComponentHandlers must extend AbstractComponentHandler or this
> specific behaviour of prepareHandler (test for disposing and ignoring
> if so) must be specified as a part of the ComponentHandler contract.

One could make the argument that it is implicit already, once a 
component is disposed, it shouldn't respond on any of its other methods.

I'll make the modifications and commit.
peter royal -> proyal@apache.org

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

View raw message