Class GreenMailServiceImpl
java.lang.Object
ch.tocco.nice2.messaging.greenmail.impl.GreenMailServiceImpl
- All Implemented Interfaces:
GreenMailService, Runnable
@ConditionalOnProperty(value="ch.tocco.nice2.enableUpgradeMode",
havingValue="false",
matchIfMissing=true)
public class GreenMailServiceImpl
extends Object
implements GreenMailService
-
Constructor Summary
ConstructorsConstructorDescriptionGreenMailServiceImpl(org.slf4j.Logger log, GreenMailSessionFactory sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.icegreen.greenmail.util.GreenMail> voidrun()voidsetImapSetup(String imapSetup) voidsetPop3Setup(String pop3Setup) voidsetSmtpSetup(String smtpSetup) voidsetUsers(List<UserContribution> users) voidstart()booleanstop()
-
Constructor Details
-
GreenMailServiceImpl
-
-
Method Details
-
getGreenMail
- Specified by:
getGreenMailin interfaceGreenMailService
-
getSmtpSetup
-
setSmtpSetup
-
getPop3Setup
-
setPop3Setup
-
getImapSetup
-
setImapSetup
-
setUsers
-
start
public void start() -
stop
@PreDestroy public boolean stop() -
run
-