***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.publish.alerts
Class AlertTransportFactory

java.lang.Object
  |
  +--com.sas.services.publish.alerts.AlertTransportFactory

public class AlertTransportFactory
extends Object

A factory used to manufacture alert delivery transports.

* The supported delivery transports are listed below. View the javadoc for specific details on each delivery transport.

See Also:
TemplateInterface

Constructor Summary
AlertTransportFactory()
           
 
Method Summary
static DAVAlertTransportInterface getDAVAlertTransport(UserContextInterface userContext, String domain, String userId)
          Creates an instance of the DAV (portlet) transport.
static MailAlertTransportInterface getMailAlertTransport(SMTPServerInfo info)
          Creates an instance of the mail transport.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertTransportFactory

public AlertTransportFactory()
Method Detail

getMailAlertTransport

public static MailAlertTransportInterface getMailAlertTransport(SMTPServerInfo info)
Creates an instance of the mail transport. The mail transport provides a mechanism for sending alert notifications via email.
Parameters:
info - The SMTP server info.
Returns:
the mail delivery transport

getDAVAlertTransport

public static DAVAlertTransportInterface getDAVAlertTransport(UserContextInterface userContext,
                                                              String domain,
                                                              String userId)
Creates an instance of the DAV (portlet) transport. The DAV transport provides a mechanism for sending alert notifications to a user's personal repository in WebDAV.
Parameters:
userContext - the publisher
domain - the authentiction domain
userId - The WebDAV userid. The alert notification is published to the user's personal repository.
Returns:
the DAV delivery transport

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:02