Examples of SystemAlert


Examples of com.dianping.cat.report.task.alert.system.SystemAlert

    }

    if (serverConfigManager.isAlertMachine() && !serverConfigManager.isLocalMode()) {
      BusinessAlert metricAlert = ctx.lookup(BusinessAlert.class);
      NetworkAlert networkAlert = ctx.lookup(NetworkAlert.class);
      SystemAlert systemAlert = ctx.lookup(SystemAlert.class);
      ExceptionAlert exceptionAlert = ctx.lookup(ExceptionAlert.class);
      HeartbeatAlert heartbeatAlert = ctx.lookup(HeartbeatAlert.class);
      ProjectUpdateTask productUpdateTask = ctx.lookup(ProjectUpdateTask.class);
      ThirdPartyAlert thirdPartyAlert = ctx.lookup(ThirdPartyAlert.class);
      ThirdPartyAlertBuilder alertBuildingTask = ctx.lookup(ThirdPartyAlertBuilder.class);
View Full Code Here

Examples of com.sun.midp.lcdui.SystemAlert

            CommandListener ignoring = new CommandListener() {
                public void commandAction(Command c, Displayable d) {}
            };

            suspendAlert = new SystemAlert(getDisp(token), title,
                message, null, AlertType.WARNING);
            suspendAlert.setCommandListener(ignoring);

            suspendAlert.runInNewThread();
        }
View Full Code Here

Examples of com.sun.midp.lcdui.SystemAlert

        String title = Resource.getString(
            ResourceConstants.SR_ALL_KILLED_ALERT_TITLE, null);
        String message = Resource.getString(
            ResourceConstants.SR_ALL_KILLED_ALERT_MSG, null);

        SystemAlert alert = new SystemAlert(getDisp(token), title,
                message, null, AlertType.WARNING);
        alert.runInNewThread();
    }
View Full Code Here

Examples of com.sun.midp.lcdui.SystemAlert

     * @param exceptionMsg exception message
     */
    static void displayException(DisplayEventHandler handler,
            String exceptionMsg) {

        SystemAlert alert = new SystemAlert(
            handler, "Exception", exceptionMsg, null, AlertType.ERROR);
        alert.run();
        alert.waitForUser();
    }
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.event.impl.SystemAlert

        }


        try {
          if (rs.getLong("userId") == LimsUtils.SYSTEM_USER_ID) {
            a = new SystemAlert();
          }
          else {
            User u = securityManager.getUserById(rs.getLong("userId"));
            a = new DefaultAlert(u);
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.