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); }
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); }
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); }