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
GatewaysMessageGatewayServiceboolean 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 © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"