info.magnolia.module.mail
Class MailModule

java.lang.Object
  extended by info.magnolia.module.mail.MailModule
All Implemented Interfaces:
ModuleLifecycle

public class MailModule
extends Object
implements ModuleLifecycle

Mail module.

Author:
Nicolas Modrzyk

Constructor Summary
MailModule()
           
 
Method Summary
 void addTemplatesConfiguration(MailTemplate mailTemplate)
           
 MgnlMailFactory getFactory()
           
 MgnlMailHandler getHandler()
           
static MailModule getInstance()
          Deprecated. since 4.5, use IoC !
 Map<String,String> getSmtp()
           
 List<MailTemplate> getTemplatesConfiguration()
           
 void setFactory(MgnlMailFactory factory)
           
 void setHandler(MgnlMailHandler handler)
           
 void setSmtp(Map<String,String> smtp)
           
 void setTemplatesConfiguration(List<MailTemplate> templatesConfiguration)
           
 void start(ModuleLifecycleContext moduleLifecycleContext)
           
 void stop(ModuleLifecycleContext moduleLifecycleContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailModule

public MailModule()
Method Detail

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–2014 Magnolia International Ltd.. All rights reserved.