org.mule.providers.email
Class SmtpMessageDispatcherFactory

java.lang.Object
  extended by org.mule.providers.AbstractMessageDispatcherFactory
      extended by org.mule.providers.email.SmtpMessageDispatcherFactory
All Implemented Interfaces:
UMOMessageDispatcherFactory

public class SmtpMessageDispatcherFactory
extends AbstractMessageDispatcherFactory

SmtpMessageDispatcherFactory creates an instance of an SmtpMessage dispatcher used for sending email events via an SMTP gateway


Constructor Summary
SmtpMessageDispatcherFactory()
           
 
Method Summary
 UMOMessageDispatcher create(UMOImmutableEndpoint endpoint)
          Creates a new message dispatcher instance, initialised with the passed endpoint.
 
Methods inherited from class org.mule.providers.AbstractMessageDispatcherFactory
activate, destroy, isCreateDispatcherPerRequest, passivate, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SmtpMessageDispatcherFactory

public SmtpMessageDispatcherFactory()
Method Detail

create

public UMOMessageDispatcher create(UMOImmutableEndpoint endpoint)
                            throws UMOException
Creates a new message dispatcher instance, initialised with the passed endpoint. The returned instance should be immediately useable.

Specified by:
create in interface UMOMessageDispatcherFactory
Specified by:
create in class AbstractMessageDispatcherFactory
Parameters:
endpoint - the endoint for which this dispatcher should be created
Returns:
a properly created UMOMessageDispatcher for this transport
Throws:
UMOException - if the dispatcher cannot be created


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.