This is what I've tried...

```
from sun.misc import Signal
from sun.misc import SignalHandler

class InterruptHandler(SignalHandler):

    def handle(self):
        print "Shutting down server..."

Signal.handle(Signal("INT"),InterruptHandler())

```

It's based on this <http://www.javaspecialists.co.za/archive/Issue043.html>, but evidently I'm missing something.