lundi 17 juillet 2023

Design Notification Service using factory pattern

I designed a notification send service using factory design pattern. Now the problem is for a single input I have to send email , sms and push notification. How can I modify the existing factory methods to achieve the same.

There are different implementation classes created like SMSNotify, EmailNotify,PushNotify.

Aucun commentaire:

Enregistrer un commentaire