info.magnolia.module.mail
Class MailModule

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

public class MailModule
extends Object
implements info.magnolia.module.ModuleLifecycle

Mail module.

Author:
Nicolas Modrzyk

Constructor Summary
MailModule()
           
 
Method Summary
 void addTemplatesConfiguration(MailTemplate mailTemplate)
           
 MgnlMailFactory getFactory()
           
 MgnlMailHandler getHandler()
           
static MailModule getInstance()
           
 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(info.magnolia.module.ModuleLifecycleContext moduleLifecycleContext)
           
 void stop(info.magnolia.module.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()

getSmtp

public Map<String,String> getSmtp()

setSmtp

public void setSmtp(Map<String,String> smtp)

start

public void start(info.magnolia.module.ModuleLifecycleContext moduleLifecycleContext)
Specified by:
start in interface info.magnolia.module.ModuleLifecycle

stop

public void stop(info.magnolia.module.ModuleLifecycleContext moduleLifecycleContext)
Specified by:
stop in interface info.magnolia.module.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-2010 Magnolia International Ltd.. All Rights Reserved.