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
ConstructorDescriptionGreenMailServiceImpl
(org.slf4j.Logger log, GreenMailSessionFactory sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionOptional
<com.icegreen.greenmail.util.GreenMail> void
run()
void
setImapSetup
(String imapSetup) void
setPop3Setup
(String pop3Setup) void
setSmtpSetup
(String smtpSetup) void
setUsers
(List<UserContribution> users) void
start()
boolean
stop()
-
Constructor Details
-
GreenMailServiceImpl
-
-
Method Details
-
getGreenMail
- Specified by:
getGreenMail
in interfaceGreenMailService
-
getSmtpSetup
-
setSmtpSetup
-
getPop3Setup
-
setPop3Setup
-
getImapSetup
-
setImapSetup
-
setUsers
-
start
public void start() -
stop
@PreDestroy public boolean stop() -
run
public void run()
-