Class NotificationChannelDestinationHandlerManager
java.lang.Object
es.kukenan.smartfi.microservice.communication.service.channel.NotificationChannelDestinationHandlerManager
Notification channel destination handler manager, used to find the proper channel destination handler for a given channel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionKnown channel destination handlers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchannel(NotificationChannel channel) Find the implementation class for the given notification.
-
Field Details
-
channelDestinationHandlers
Known channel destination handlers.
-
-
Constructor Details
-
NotificationChannelDestinationHandlerManager
public NotificationChannelDestinationHandlerManager()
-
-
Method Details
-
channel
Find the implementation class for the given notification.- Parameters:
channel- notification channel.- Returns:
- the provider implementation.
UnexpectedExceptionis thrown if no provider implementation found for the given notification request.
-