whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Bayer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WHIRR-724) Add a listener to calls to ClusterActionHandlerSupport.beforeAction and .afterAction
Date Tue, 07 May 2013 17:05:15 GMT

     [ https://issues.apache.org/jira/browse/WHIRR-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andrew Bayer updated WHIRR-724:

    Attachment: WHIRR-724.patch

This patch adds a ClusterActionHandlerListener class, which has beforeEvent and afterEvent
methods which get called from ClusterActionHandlerSupport's beforeAction and afterAction methods,
respectively. The listener is specified in the ClusterSpec, and defaults to a no-op.
> Add a listener to calls to ClusterActionHandlerSupport.beforeAction and .afterAction
> ------------------------------------------------------------------------------------
>                 Key: WHIRR-724
>                 URL: https://issues.apache.org/jira/browse/WHIRR-724
>             Project: Whirr
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.8.2
>            Reporter: Andrew Bayer
>            Assignee: Andrew Bayer
>             Fix For: 0.9.0
>         Attachments: WHIRR-724.patch
> When using Whirr as a library, rather than as a command-line tool directly, it'd be very
handy to be able to have a listener class called when handlers' events are called, for logging/monitoring/etc.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message