public interface ChannelExtension
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ORDER |
static String |
PROP_EXTENSION_ORDER |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDeliver(Notification notification,
String userId,
Session session,
Map<String,Object> configuration)
Callback method after the
Channel.deliver(Notification) is performed. |
void |
beforeDeliver(Notification notification,
String userId,
Session session,
Map<String,Object> configuration)
Callback method before the
Channel.deliver(Notification) is performed. |
String |
getName() |
int |
getOrder() |
static final int DEFAULT_ORDER
static final String PROP_EXTENSION_ORDER
int getOrder()
String getName()
void beforeDeliver(Notification notification, String userId, Session session, Map<String,Object> configuration) throws ChannelException
Channel.deliver(Notification) is performed.notification - the target NotificationuserId - the user whom to be notified.session - the session used by the channel.configuration - the channel configuration.ChannelException - thrown if any one of the extensions throw an exception. This aborts the channel
delivery operations.void afterDeliver(Notification notification, String userId, Session session, Map<String,Object> configuration) throws ChannelException
Channel.deliver(Notification) is performed.notification - the target NotificationuserId - the user whom to be notified.session - the session used by the channel.configuration - the channel configuration.ChannelException - thrown if any one of the extensions throw an exception. This aborts the channel
delivery operations."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"