Package org.exoplatform.webui.event

Examples of org.exoplatform.webui.event.MonitorEvent


   @SuppressWarnings("unchecked")
   public void onDestroy(Application app) throws Exception
   {
      WebuiApplication webuiapp = (WebuiApplication)app;
      MonitorEvent event = (MonitorEvent)app.getAttribute(MonitorEvent.PORTAL_APPLICATION_LIFECYCLE_EVENT);
      event.setEndExecutionTime(System.currentTimeMillis());
      webuiapp.broadcast(event);
   }
View Full Code Here


   @SuppressWarnings("unchecked")
   public void onEndRequest(Application app, WebuiRequestContext rcontext) throws Exception
   {
      WebuiApplication webuiapp = (WebuiApplication)app;
      MonitorEvent event = (MonitorEvent)rcontext.getAttribute(MonitorEvent.PORTAL_EXECUTION_LIFECYCLE_EVENT);
      event.setEndExecutionTime(System.currentTimeMillis());
      webuiapp.broadcast(event);
   }
View Full Code Here

   @SuppressWarnings("unchecked")
   public void onDestroy(Application app) throws Exception
   {
      WebuiApplication webuiapp = (WebuiApplication)app;
      MonitorEvent event = (MonitorEvent)app.getAttribute(MonitorEvent.PORTAL_APPLICATION_LIFECYCLE_EVENT);
      event.setEndExecutionTime(System.currentTimeMillis());
      webuiapp.broadcast(event);
   }
View Full Code Here

   @SuppressWarnings("unchecked")
   public void onEndRequest(Application app, WebuiRequestContext rcontext) throws Exception
   {
      WebuiApplication webuiapp = (WebuiApplication)app;
      MonitorEvent event = (MonitorEvent)rcontext.getAttribute(MonitorEvent.PORTAL_EXECUTION_LIFECYCLE_EVENT);
      event.setEndExecutionTime(System.currentTimeMillis());
      webuiapp.broadcast(event);
   }
View Full Code Here

    }

    @SuppressWarnings("unchecked")
    public void onDestroy(Application app) throws Exception {
        WebuiApplication webuiapp = (WebuiApplication) app;
        MonitorEvent event = (MonitorEvent) app.getAttribute(MonitorEvent.PORTAL_APPLICATION_LIFECYCLE_EVENT);
        event.setEndExecutionTime(System.currentTimeMillis());
        webuiapp.broadcast(event);
    }
View Full Code Here

    }

    @SuppressWarnings("unchecked")
    public void onEndRequest(Application app, WebuiRequestContext rcontext) throws Exception {
        WebuiApplication webuiapp = (WebuiApplication) app;
        MonitorEvent event = (MonitorEvent) rcontext.getAttribute(MonitorEvent.PORTAL_EXECUTION_LIFECYCLE_EVENT);
        event.setEndExecutionTime(System.currentTimeMillis());
        webuiapp.broadcast(event);
    }
View Full Code Here

TOP

Related Classes of org.exoplatform.webui.event.MonitorEvent

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.