Class: EventSourcing::Aggregate::Manager
- Inherits:
-
Concurrent::Actor::RestartingContext
- Object
- Concurrent::Actor::RestartingContext
- EventSourcing::Aggregate::Manager
- Defined in:
- lib/event_sourcing/aggregate/manager.rb,
lib/event_sourcing/aggregate/manager/cache.rb,
lib/event_sourcing/aggregate/manager/reference.rb,
lib/event_sourcing/aggregate/manager/instance_of.rb
Defined Under Namespace
Constant Summary collapse
- InstanceOf =
Value.new(:aggregate, :id)
Instance Method Summary collapse
- #default_reference_class ⇒ Object
-
#initialize(event_bus) ⇒ Manager
constructor
A new instance of Manager.
- #on_message(message) ⇒ Object
Constructor Details
#initialize(event_bus) ⇒ Manager
Returns a new instance of Manager.
11 12 13 |
# File 'lib/event_sourcing/aggregate/manager.rb', line 11 def initialize(event_bus) @event_bus = event_bus end |
Instance Method Details
#default_reference_class ⇒ Object
23 24 25 |
# File 'lib/event_sourcing/aggregate/manager.rb', line 23 def default_reference_class Reference end |