public DomainEventPublisher InitializeENode()
 {
     _jsonSerializer     = ObjectContainer.Resolve <IJsonSerializer>();
     _eventTopicProvider = ObjectContainer.Resolve <ITopicProvider <IDomainEvent> >();
     _eventSerializer    = ObjectContainer.Resolve <IEventSerializer>();
     _logger             = ObjectContainer.Resolve <ILoggerFactory>().Create(GetType().FullName);
     _sendMessageService = new SendQueueMessageService();
     return(this);
 }
Example #2
0
 public ApplicationMessagePublisher InitializeENode()
 {
     _jsonSerializer       = ObjectContainer.Resolve <IJsonSerializer>();
     _logger               = ObjectContainer.Resolve <ILoggerFactory>().Create(GetType().FullName);
     _messageTopicProvider = ObjectContainer.Resolve <ITopicProvider <IApplicationMessage> >();
     _typeNameProvider     = ObjectContainer.Resolve <ITypeNameProvider>();
     _sendMessageService   = new SendQueueMessageService();
     return(this);
 }
Example #3
0
 public CommandService InitializeENode()
 {
     _jsonSerializer       = ObjectContainer.Resolve <IJsonSerializer>();
     _commandTopicProvider = ObjectContainer.Resolve <ITopicProvider <ICommand> >();
     _typeNameProvider     = ObjectContainer.Resolve <ITypeNameProvider>();
     _sendMessageService   = new SendQueueMessageService();
     _logger = ObjectContainer.Resolve <ILoggerFactory>().Create(GetType().FullName);
     return(this);
 }