org.jwarp.service.mail
Interface IMailService

All Superinterfaces:
IConfigurable, IExceptionProvider, IService
All Known Implementing Classes:
MailService

public interface IMailService
extends IService

This is the service interface of the mail service. This service is also available for asynchronous mailing via the work item manager since there by default also a mail send tool should be installed.

Version:
0.1
Author:
Anatole Tresch

Field Summary
static java.lang.String SERVICE_TYPE
          The service type constant
 
Fields inherited from interface org.jwarp.service.IService
SERVICE_STATUS_CREATED, SERVICE_STATUS_NOT_AVAILABLE, SERVICE_STATUS_READY, SERVICE_STATUS_RESUMING, SERVICE_STATUS_RUNNING, SERVICE_STATUS_STARTING, SERVICE_STATUS_STOPPED, SERVICE_STATUS_STOPPING, SERVICE_STATUS_SUSPENDED
 
Method Summary
 Email prepareEmail()
           
 void send(Email email)
           
 
Methods inherited from interface org.jwarp.service.IService
checkContext, getDependencies, getLogLevel, getName, getStatus, getType, resume, setContext, setDependencies, setLogLevel, shutdown, start, suspend
 
Methods inherited from interface org.jwarp.service.configuration.IConfigurable
configure
 
Methods inherited from interface org.jwarp.common.IExceptionProvider
addExceptionListener, getExceptionListeners, removeAllExceptionListeners, removeExceptionListener
 

Field Detail

SERVICE_TYPE

public static final java.lang.String SERVICE_TYPE
The service type constant
Method Detail

prepareEmail

public Email prepareEmail()
                   throws javax.mail.MessagingException

send

public void send(Email email)
          throws javax.mail.MessagingException

©   O R C A   S y s t e m s