Package com.volantis.mcs.migrate.impl.notification.reporter

Examples of com.volantis.mcs.migrate.impl.notification.reporter.LogDispatcherNotificationReporter


        loggerMock.expects.error("error-notification-reporter","message");
        // ==================================================================
        // Do the test.
        // ==================================================================

        LogDispatcherNotificationReporter reporter = new LogDispatcherNotificationReporter(loggerMock);
        Notification notification = new SimpleMessageNotification(NotificationType.ERROR, "message");
        reporter.reportNotification(notification);
    }
View Full Code Here


        loggerMock.expects.info("info-notification-reporter","message");
        // ==================================================================
        // Do the test.
        // ==================================================================

        LogDispatcherNotificationReporter reporter = new LogDispatcherNotificationReporter(loggerMock);
        Notification notification = new SimpleMessageNotification(NotificationType.INFO, "message");
        reporter.reportNotification(notification);
    }
View Full Code Here

        return new LocalizedMessageNotification(type, messageKey, params);
    }

    public NotificationReporter createLogDispatcherReporter(
            LogDispatcher logger) {
        return new LogDispatcherNotificationReporter(logger);
    }
View Full Code Here

    }

    // Javadoc inherited
    public NotificationReporter createLogDispatcherNotificationReporter(
            LogDispatcher logger) {
        return new LogDispatcherNotificationReporter(logger);
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.migrate.impl.notification.reporter.LogDispatcherNotificationReporter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.