Examples of HealthMonitorServiceClient


Examples of org.apache.stratos.status.monitor.ui.clients.HealthMonitorServiceClient

    public static ServiceStateInfoBean[] retrieveStatuses(
            HttpServletRequest request, ServletConfig config,
                                              HttpSession session) throws Exception {

        try {
            HealthMonitorServiceClient serviceClient =
                    new HealthMonitorServiceClient(config, session);
            return serviceClient.retrieveStatuses();
        } catch (Exception e) {
            String msg = "Failed to get the service status info beans";
            log.error(msg, e);
            throw new Exception(msg, e);
        }
View Full Code Here

Examples of org.apache.stratos.status.monitor.ui.clients.HealthMonitorServiceClient

     */
    public static ServiceStateDetailInfoBean[] retrieveStateDetails(
            HttpServletRequest request, ServletConfig config,
            HttpSession session) throws Exception {
        try {
            HealthMonitorServiceClient serviceClient =
                    new HealthMonitorServiceClient(config, session);
            return serviceClient.retrieveStateDetails();
        } catch (Exception e) {
            String msg = "Failed to get the service state details info beans";
            log.error(msg, e);
            throw new Exception(msg, e);
        }
View Full Code Here

Examples of org.apache.stratos.status.monitor.ui.clients.HealthMonitorServiceClient

    public static ServiceStateInfoBean getStatus(HttpServletRequest request, ServletConfig config,
                                           HttpSession session) throws Exception {
        String serviceName = "";
        try {
            serviceName = request.getParameter("service");
            HealthMonitorServiceClient serviceClient =
                    new HealthMonitorServiceClient(config, session);
            return serviceClient.getServiceStatus(serviceName);
        } catch (Exception e) {
            String msg = "Failed to get the status details of the service:" + serviceName;
            log.error(msg, e);
            throw new Exception(msg, e);
        }
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.