Package com.day.cq.mailer
Interface MessageGatewayService
-
public interface MessageGatewayService
OSGI Service to access the available Gateways for a message of a given type. An example of such a message would be anEmail
- Since:
- 5.4
- See Also:
MessageGateway
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Type> MessageGateway<Type>
getGateway(java.lang.Class<? extends Type> type)
Returns the gateway.
-
-
-
Method Detail
-
getGateway
<Type> MessageGateway<Type> getGateway(java.lang.Class<? extends Type> type)
Returns the gateway.- Type Parameters:
Type
- The message type.- Parameters:
type
- of the message a gateway is requested- Returns:
- the MessageGateway or
null
if non registered for this type
-
-