info.magnolia.module.mail
Class MailModule

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

public class MailModule
extends java.lang.Object
implements ModuleLifecycle

Mail module.

Author:
Nicolas Modrzyk

Constructor Summary
MailModule()
           
 
Method Summary
 void addTemplatesConfiguration(MailTemplate mailTemplate)
           
 MgnlMailFactory getFactory()
           
 MgnlMailHandler getHandler()
           
static MailModule getInstance()
           
 java.util.Map<java.lang.String,java.lang.String> getSmtp()
           
 java.util.List<MailTemplate> getTemplatesConfiguration()
           
 void setFactory(MgnlMailFactory factory)
           
 void setHandler(MgnlMailHandler handler)
           
 void setSmtp(java.util.Map<java.lang.String,java.lang.String> smtp)
           
 void setTemplatesConfiguration(java.util.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()

getSmtp

public java.util.Map<java.lang.String,java.lang.String> getSmtp()

setSmtp

public void setSmtp(java.util.Map<java.lang.String,java.lang.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 java.util.List<MailTemplate> getTemplatesConfiguration()

setTemplatesConfiguration

public void setTemplatesConfiguration(java.util.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-2011 Magnolia International Ltd.. All Rights Reserved.