dist/hawtio-utilities.js
function registerForChanges(jolokia, $scope, arguments, callback, options) {
        var decorated = {
            responseJson: '',
            success: function (response) {
                var json = angular.toJson(response.value);
                if (decorated.responseJson !== json) {
                    decorated.responseJson = json;
                    callback(response);
                }
            }
        };
        angular.extend(decorated, options);
        return Core.register(jolokia, $scope, arguments, onSuccess(undefined, decorated));
    }
function registerForChanges(jolokia, $scope, arguments, callback, options) {
        var decorated = {
            responseJson: '',
            success: function (response) {
                var json = angular.toJson(response.value);
                if (decorated.responseJson !== json) {
                    decorated.responseJson = json;
                    callback(response);
                }
            }
        };
        angular.extend(decorated, options);
        return Core.register(jolokia, $scope, arguments, onSuccess(undefined, decorated));
    }
function registerForChanges ( jolokia , $scope , arguments , callback , options ) { var decorated = { responseJson : '' , success : function ( response ) { var json = angular . toJson ( response . value ) ; if ( decorated . responseJson !== json ) { decorated . responseJson = json ; callback ( response ) ; } } } ; angular . extend ( decorated , options ) ; return Core . register ( jolokia , $scope , arguments , onSuccess ( undefined , decorated ) ) ; }
Register a JMX operation to poll for changes, only
calls back when a change occurs

@param jolokia
@param scope
@param arguments
@param callback
@param options
@returns Object
Register a JMX operation to poll for changes only calls back when a change occurs