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 an
Email- Since:
- 5.4
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<Type> MessageGateway<Type> getGateway(Class<? extends Type> type) Returns the gateway.
-
Method Details
-
getGateway
Returns the gateway.- Type Parameters:
Type- The message type.- Parameters:
type- of the message a gateway is requested- Returns:
- the MessageGateway or
nullif non registered for this type
-