Package io.gravitee.am.service.impl
Class EmailServiceImpl
java.lang.Object
io.gravitee.am.service.impl.EmailServiceImpl
- All Implemented Interfaces:
EmailService,org.springframework.beans.factory.InitializingBean
@Component
public class EmailServiceImpl
extends Object
implements EmailService, org.springframework.beans.factory.InitializingBean
- Author:
- Titouan COMPIEGNE (titouan.compiegne at graviteesource.com), GraviteeSource Team
-
Constructor Summary
ConstructorsConstructorDescriptionEmailServiceImpl(org.springframework.mail.javamail.JavaMailSender mailSender, String templatesPath) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsetDictionaryProvider(DictionaryProvider provider)
-
Constructor Details
-
EmailServiceImpl
public EmailServiceImpl(@Lazy org.springframework.mail.javamail.JavaMailSender mailSender, @Value("${templates.path:${gravitee.home}/templates}") String templatesPath)
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
send
- Specified by:
sendin interfaceEmailService
-
getDictionaryProvider
- Specified by:
getDictionaryProviderin interfaceEmailService
-
setDictionaryProvider
- Specified by:
setDictionaryProviderin interfaceEmailService
-
getDefaultDictionaryProvider
- Specified by:
getDefaultDictionaryProviderin interfaceEmailService
-