Пример #1
0
 @Bean
 protected ReadEmailTaskJobFactory readEmailTaskJobFactory() {
   return new ReadEmailTaskJobFactory( //
       email.emailAccountFacade(), //
       email.emailServiceFactory(), //
       email.subjectHandler(), //
       email.emailStore(), //
       workflow
           .systemWorkflowLogicBuilder() //
           .build(), //
       dms.defaultDmsLogic(), //
       data.systemDataView(), //
       email.emailTemplateLogic(), //
       template.databaseTemplateEngine(), //
       emailTemplateSenderFactory() //
       );
 }
Пример #2
0
 @Bean
 protected EmailTemplateSenderFactory emailTemplateSenderFactory() {
   return new DefaultEmailTemplateSenderFactory(email.emailServiceFactory(), email.emailLogic());
 }