Sha256: a5d66c459438654d6b338049fb821434cc6d64a19fa83f0f84a0973ede9f9e7b

Contents?: true

Size: 1.11 KB

Versions: 14

Compression:

Stored size: 1.11 KB

Contents

# frozen_string_literal: true
module Hyrax
  # @note
  #    Did you encounter an exception similar to the following:
  #
  #    "A copy of Hyrax::Listeners::ObjectLifecycleListener has been removed from the module tree but is still active!"
  #
  #    You may need to register a listener as autoload.  See
  #    ./app/services/hyrax/listeners.rb
  #
  # When an instance of a listener class is registered with
  # Dry::Events::Publisher#subscribe, its method(s) will be called when a event
  # is published that maps to the method name using the pattern:
  #   on_event_fired => 'event.fired'
  #
  # @see https://dry-rb.org/gems/dry-events/0.2/#event-listeners
  module Listeners
    extend ActiveSupport::Autoload

    autoload :AclIndexListener
    autoload :BatchNotificationListener
    autoload :FileMetadataListener
    autoload :FileSetLifecycleListener
    autoload :FileSetLifecycleNotificationListener
    autoload :MemberCleanupListener
    autoload :MetadataIndexListener
    autoload :ObjectLifecycleListener
    autoload :ProxyDepositListener
    autoload :TrophyCleanupListener
    autoload :WorkflowListener
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hyrax-5.0.0.rc2 app/services/hyrax/listeners.rb
hyrax-5.0.0.rc1 app/services/hyrax/listeners.rb
hyrax-3.6.0 app/services/hyrax/listeners.rb
hyrax-4.0.0 app/services/hyrax/listeners.rb
hyrax-4.0.0.rc3 app/services/hyrax/listeners.rb
hyrax-4.0.0.rc2 app/services/hyrax/listeners.rb
hyrax-4.0.0.rc1 app/services/hyrax/listeners.rb
hyrax-3.5.0 app/services/hyrax/listeners.rb
hyrax-4.0.0.beta2 app/services/hyrax/listeners.rb
hyrax-3.4.2 app/services/hyrax/listeners.rb
hyrax-4.0.0.beta1 app/services/hyrax/listeners.rb
hyrax-3.4.1 app/services/hyrax/listeners.rb
hyrax-3.4.0 app/services/hyrax/listeners.rb
hyrax-3.3.0 app/services/hyrax/listeners.rb