Package org.opends.server.core
Class MailServerConfigManager
- java.lang.Object
-
- org.opends.server.core.MailServerConfigManager
-
public class MailServerConfigManager extends Object
This class manages the set of (zero or more) configurations for connecting to the mail servers defined in the Directory Server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<javax.mail.Session>
getMailServerSessions()
Return all the enabled SMTPjavax.mail.Session
instances configured in the server.boolean
isMailServerConfigured()
Check if there are any enabled mail servers.
-
-
-
Method Detail
-
isMailServerConfigured
public boolean isMailServerConfigured()
Check if there are any enabled mail servers.- Returns:
true
if there are enabled mail servers andfalse
otherwise.
-
getMailServerSessions
public Set<javax.mail.Session> getMailServerSessions()
Return all the enabled SMTPjavax.mail.Session
instances configured in the server.- Returns:
- all enabled
javax.mail.Session
instances.
-
-