I wrote:
> > Sent: Thursday, 10 January, 2002 12:20
> > To: Avalon Developers List
> > Subject: RE: BlockListener needs more methods
> >
> >
> >
> > Peter Donald wrote:
> > [on BlockListener]
> > > Stephen do you recall when that was or have a pointer into the
> > archives ?
> >
> > Pete:
> >
> > Here is your email to me which I have not yet replied to.
> > (I was swamped by external events at the time and need to get
> > my head back around this stuff - but not right now - other things
> > that I have to deal with just at the moment).
>
> However, ....
> The following (you suggestion) would be "really" useful:
>
> void applicationStarting() //before blocks are startedup
> void applicationStarted() //when all blocks are started up
> void applicationStopping() //before blocks are shutdown
> void applicationStopped() //when all blocks are shutdown
> void applicationFailure() //when application fails to load
>
> Providing the application event gives me a hook to (a) the
> ability to veto application startup and invoke shutdown, and
> (b) info about the blocks contained in the application. This
> would let me abandon one of two patches I have on the Avalon/
> Phoenix stuff.
And one more little feature - I want to be able to pass an
argument on the command line when starting Phoenix and have that
argument passed onto my application listener (but without modifying
code - i.e. the command line arg could be something like:
-listener net.osm.WayCoolAppListener "wishlist,true"
(Just my little wish list :-) )
Cheers, Steve.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>