info.magnolia.module.mail
Class MailModule
java.lang.Object
info.magnolia.module.mail.MailModule
- All Implemented Interfaces:
- ModuleLifecycle
public class MailModule
- extends Object
- implements ModuleLifecycle
Mail module.
- Author:
- Nicolas Modrzyk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailModule
public MailModule()
getInstance
public static MailModule getInstance()
- Deprecated. since 4.5, use IoC !
getSmtp
public Map<String,String> getSmtp()
setSmtp
public void setSmtp(Map<String,String> smtp)
start
public void start(ModuleLifecycleContext moduleLifecycleContext)
- Specified by:
start
in interface ModuleLifecycle
stop
public void stop(ModuleLifecycleContext moduleLifecycleContext)
- Specified by:
stop
in interface ModuleLifecycle
getTemplatesConfiguration
public List<MailTemplate> getTemplatesConfiguration()
setTemplatesConfiguration
public void setTemplatesConfiguration(List<MailTemplate> templatesConfiguration)
addTemplatesConfiguration
public void addTemplatesConfiguration(MailTemplate mailTemplate)
getHandler
public MgnlMailHandler getHandler()
setHandler
public void setHandler(MgnlMailHandler handler)
getFactory
public MgnlMailFactory getFactory()
setFactory
public void setFactory(MgnlMailFactory factory)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.