Package org.jmanage.monitoring.downtime.event

Examples of org.jmanage.monitoring.downtime.event.ApplicationDownEvent


        this(appEvent.getApplicationConfig());
        /* check if the application is up */
        wasOpen = isOpen();
        if(!wasOpen){
            EventSystem.getInstance().fireEvent(
                    new ApplicationDownEvent(appConfig, appEvent.getTime()));   
        }
    }
View Full Code Here


        final boolean isOpen = isOpen();
        if(wasOpen && !isOpen){
            // application went down
            wasOpen = false;
            EventSystem.getInstance().fireEvent(
                    new ApplicationDownEvent(appConfig));
        }else if(!wasOpen && isOpen){
            // application came pack up
            wasOpen = true;
            EventSystem.getInstance().fireEvent(
                    new ApplicationUpEvent(appConfig));
View Full Code Here

TOP

Related Classes of org.jmanage.monitoring.downtime.event.ApplicationDownEvent

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.