Class ProcessorMappingRegistry


  • public class ProcessorMappingRegistry
    extends java.lang.Object
    Get the processor by using specific channel and notification type
    • Constructor Detail

      • ProcessorMappingRegistry

        public ProcessorMappingRegistry()
    • Method Detail

      • addMapping

        public void addMapping​(NotificationChannel notificationChannel,
                               NotificationType notificationType,
                               Processor processor)
        add new processor to this registry's map
        Parameters:
        notificationChannel - one notification channel such as email, sms
        notificationType - represents one notification type
        processor - one specific processor