At 10:06 AM 6/14/2002 +0200, you wrote:
>>I dunno - Phoenix has had Block/Application Listener has had equivelent
>>interface for a long time (we have termed them structural interfaces) now
>>without messing up lifeccycle process.
>>Feature added services ala Saveable/Exportable/etc should occur inbetween
>>startup and shutdown so no need to mess up lifecycle for that either.
>
>:-?
>
>I need the Container to call save() on the components at any time it is
>needed.
>For me, each Component is an instance of an app, and since the system does
>autosaving, it needs to ask the Component to save when needed.
>
>What does this have to do with startup-shutdown?
startup/shutdown is the are that avalons lifecycle management deals with
(ie what we term lifecycle interfaces). This is the only thing we
standardize on (at least now that Component is going way of dodo).
In the past we have specified some structural interfaces (ie Component,
Block and BlockListener) but except for BlockListener they have all been
killed. Note that BlockListener does not require any changes to lifecycle
interface sequencing.
Other "feature" interfaces like Soapable (export via SOAP), Saveable
(persist somehow) etc have also been implemented without modifying the
lifecycle of components.
What you are asking for is an container that you can easily extend to add
features to.
Cheers,
Peter Donald
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Faced with the choice between changing one's mind,
and proving that there is no need to do so - almost
everyone gets busy on the proof."
- John Kenneth Galbraith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>