Package org.nuxeo.mail
Class MailSessionBuilder
java.lang.Object
org.nuxeo.mail.MailSessionBuilder
Builds your
Session
.- Since:
- 11.1
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
static interface
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MailSessionBuilder.FromJndi
Creates abuilder
looking for a session in jndi.Creates abuilder
looking for a jndiSession
and falling back onFramework.getProperties()
if not found.fromProperties
(Map<String, String> properties) Creates abuilder
instantiating a new session.fromProperties
(Properties properties) Creates abuilder
instantiating a new session.
-
Constructor Details
-
MailSessionBuilder
public MailSessionBuilder()
-
-
Method Details
-
fromNuxeoConf
Creates abuilder
looking for a jndiSession
and falling back onFramework.getProperties()
if not found. -
fromJndi
Creates abuilder
looking for a session in jndi. -
fromProperties
Creates abuilder
instantiating a new session. -
fromProperties
Creates abuilder
instantiating a new session.
-