Sport 2.031 with image startup/shutdown support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Sport 2.031 with image startup/shutdown support

Janko Mivšek
Dear Smaltalkers,

I published a new Sport portability library  which has now a portable
support for image startup and shutdown tasks. This is useful for any
cleanup you want to o before image is quit and for any work after image
is started. For instance, a Swazoo web server will restart all its
websites automatically after image start with help of those Sport
startup methods.

See class SpEnvironment, class methods in 'image startup/shutdown'

Usage example:

- SpEnvironment addImageStartupTask: [anObject restart] for: anObject
- SpEnvironment addImageShutdownTask: [anObject stop] for: anObject

You can find it on SqueakSource and Cincom public repository for VW.

Best regards
Janko


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si

Reply | Threaded
Open this post in threaded view
|

Re: Sport 2.031 with image startup/shutdown support

Bruce Badger
Janko,

Thanks for that.

In future, I would like to ask that extensions to Sport be discussed
on comp.lang.smalltalk before they are added in and released.

We are reaching the point where any change to Sport will affect many
people and will require action from a number of other Sport developers
to keep the Sport API consistently implemented.

Of course discussing things up front may slow the speed with which
Sport can change, but perhaps that is a good thing at this point.

All the best,
    Bruce

On 06/09/07, Janko Mivšek <[hidden email]> wrote:

> Dear Smaltalkers,
>
> I published a new Sport portability library  which has now a portable
> support for image startup and shutdown tasks. This is useful for any
> cleanup you want to o before image is quit and for any work after image
> is started. For instance, a Swazoo web server will restart all its
> websites automatically after image start with help of those Sport
> startup methods.
>
> See class SpEnvironment, class methods in 'image startup/shutdown'
>
> Usage example:
>
> - SpEnvironment addImageStartupTask: [anObject restart] for: anObject
> - SpEnvironment addImageShutdownTask: [anObject stop] for: anObject
>
> You can find it on SqueakSource and Cincom public repository for VW.
>
> Best regards
> Janko
>
>
> --
> Janko Mivšek
> AIDA/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
>
>

--
Make the most of your skills - with OpenSkills
http://www.openskills.org/