class NotificationServiceImpl implements NotificationService {

    public boolean matches(final Publisher p, final SubscriptionContext subscriptionContext) {
        // if the publisher has been deleted in the meantime, return no match
        if (!isPublisherValid(p)) {
            return false;
        }
        final boolean ok = (p.getResName().equals(subscriptionContext.getResName()) && p.getResId().equals(subscriptionContext.getResId()) && p.getSubidentifier()
                .equals(subscriptionContext.getSubidentifier()));
        return ok;
    }

    @SuppressWarnings("unused") private  NotificationServiceImpl();
      NotificationServiceImpl(final NotificationsDao notificationsManager, Map<String, Object> notificationHandlersMap,
            NotificationServiceStaticDependenciesWrapper staticDelegator);

}