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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlertTransportFactory
public AlertTransportFactory()
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 publisherdomain - the authentiction domainuserId - The WebDAV userid. The alert notification is published to
the user's personal repository.- Returns:
- the DAV delivery transport
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:02