public interface MessageGateway<Type>
Email
.
This is an ServiceProvider to be used as to register as an OSGI service.
Gateways can be accessed via MessageGatewayService
.
This is used for example by the MailingService to send messages over different
GatewaysMessageGatewayService
boolean handles(Class<? extends Type> type)
type
- to testType
.void send(Type message) throws MailingException
message
- to sendMailingException
- in case the message can not be sent."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"