Unfortunately there is no shutdown event handler. I've researched the Jira API and the listener abstract class that is provided does not have an event handler defined for shutdown events. To be sure I've contacted the Jira team about this and am awaiting their reply. If they have a way to hook into the server shutdown then I'll update my code accordingly.
To remedy this, I've made the current implementation of the JiraSensor invoke the send() command as events are raised so that sensor data is sent immediately. This provides an alternative solution to the problem of potential data loss in case of a planned or abrupt server shutdown. Burt > > JIRA Sensor > Burt, did you find a "shutdown" event handler? Which should just execute > send on all sensor shells one last time. > > > comments? > > thanks, aaron >