Class: Sequent::Core::CommandServiceConfiguration
- Inherits:
-
Object
- Object
- Sequent::Core::CommandServiceConfiguration
- Defined in:
- lib/sequent/core/command_service.rb
Instance Attribute Summary collapse
-
#command_handler_classes ⇒ Object
Returns the value of attribute command_handler_classes.
-
#event_store ⇒ Object
Returns the value of attribute event_store.
-
#filters ⇒ Object
Returns the value of attribute filters.
-
#transaction_provider ⇒ Object
Returns the value of attribute transaction_provider.
Instance Method Summary collapse
-
#initialize ⇒ CommandServiceConfiguration
constructor
A new instance of CommandServiceConfiguration.
Constructor Details
#initialize ⇒ CommandServiceConfiguration
Returns a new instance of CommandServiceConfiguration.
12 13 14 15 16 |
# File 'lib/sequent/core/command_service.rb', line 12 def initialize @command_handler_classes = [] @transaction_provider = Sequent::Core::Transactions::NoTransactions.new @filters = [] end |
Instance Attribute Details
#command_handler_classes ⇒ Object
Returns the value of attribute command_handler_classes.
7 8 9 |
# File 'lib/sequent/core/command_service.rb', line 7 def command_handler_classes @command_handler_classes end |
#event_store ⇒ Object
Returns the value of attribute event_store.
7 8 9 |
# File 'lib/sequent/core/command_service.rb', line 7 def event_store @event_store end |
#filters ⇒ Object
Returns the value of attribute filters.
7 8 9 |
# File 'lib/sequent/core/command_service.rb', line 7 def filters @filters end |
#transaction_provider ⇒ Object
Returns the value of attribute transaction_provider.
7 8 9 |
# File 'lib/sequent/core/command_service.rb', line 7 def transaction_provider @transaction_provider end |