Module OpenWFE::HistoryMixin
In: lib/openwfe/expool/history.rb

A Mixin for history modules

Methods

log   service_init  

Included Modules

ServiceMixin OwfeServiceLocator

Public Instance methods

[Source]

    # File lib/openwfe/expool/history.rb, line 64
64:         def log (event, *args)
65:             raise NotImplementedError.new(
66:                 "please provide an implementation of log(e, fei, wi)")
67:         end

[Source]

    # File lib/openwfe/expool/history.rb, line 55
55:         def service_init (service_name, application_context)
56: 
57:             super
58: 
59:             get_expression_pool.add_observer(:all) do |event, *args|
60:                 log(event, *args)
61:             end
62:         end

[Validate]