avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@apache.org>
Subject RE: self disposing system...
Date Wed, 27 Feb 2002 12:59:56 GMT

Thinking out-load....

I'm think that the notion of shutting down a system is at higher
level than a component.  An embeddor (in Phoenix) is basically
constructing an application based on an description that reference
block implementation meta-info together with the corresponding
block implementation. That information is used to build an
application by dynamically composing blocks based on published
dependencies.

Applications could (in-principal as opposed to the current Phoenix
embeddor approach) be consider as a single root-block that is
acting as the application container.  It would make sense for such
a root-block to be able to manage its own existence - which is already
possible (via managed disposal).  If that root-block were considered
as synonymous with an embedded, then you have an embeddor with
autonomous control over it's existence.  About the only thing
needed here is the ability for a block to generate its own block
disposal events.  This is not so different to the current model -
basically what I'm describing here is an active block and what we
have presently is a passive block with an active embeddor.

Given the above, you could easily imagine a Phoenix variant that
provided pluggable port/protocol listeners and would handle the
automatic activation of active-blocks (when required) and the
redirection of incoming request to registered blocks.  This could
fit very nicely with the Excalibur scratchpad Container model.

Cheers, Steve.

> -----Original Message-----
> From: Emperor [mailto:DarkEmperor@gmx.net]
> Sent: Wednesday, 27 February, 2002 12:36
> To: 'Avalon Developers List'
> Subject: AW: self disposing system...
>
>
> Ok... Forget the release method. But what about a component manager that
> notifies the embeddor through a registered event handler that noone of
> the managers components are used? The embeddor could then shut down
> itself. So you would only have to dispose the components you use.
>
> > -----Urspr√ľngliche Nachricht-----
> > Von: Peter Donald [mailto:peter@apache.org]
> > Gesendet: Mittwoch, 27. Februar 2002 08:49
> > An: Avalon Developers List
> > Betreff: Re: self disposing system...
> >
> >
> > On Tue, 26 Feb 2002 09:47, Emperor wrote:
> > > Why don't extend the attempt made by the manager's release method?
> >
> > because that saids release services that I am using - not release me.
> >
> > --
> > Cheers,
> >
> > Pete
> >
> > Doubt is not a pleasant condition, but certainty is absurd.
> >                 -- Voltaire
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:avalon-dev-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <mailto:avalon-dev-help@jakarta.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>


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


Mime
View raw message