Package org.jboss.kernel.spi.event

Examples of org.jboss.kernel.spi.event.KernelEventManager.fireKernelEvent()


      // Send a notification
      final KernelEventManager eventMgr = kernel.getEventManager();
      final long currentTime = System.currentTimeMillis();
      final String type = this.getNotificationType();
      final KernelEvent event = new AbstractEvent(eventMgr, type, 0, currentTime, new Long(currentTime));
      eventMgr.fireKernelEvent(event);

      // Log
      log.debug("Fired: " + event);
   }
View Full Code Here


         kernelDeployer.validate();
        
         // Send a notification that the startup is complete
         KernelEventManager eventMgr = kernel.getEventManager();
         KernelEvent startEvent = new AbstractEvent(eventMgr, START_NOTIFICATION_TYPE, 0, System.currentTimeMillis(), new Long(watch.getLapTime()));
         eventMgr.fireKernelEvent(startEvent);

         this.bootstrap = bootstrap;
      }
      catch (Throwable t)
      {
View Full Code Here

      // Send a notification
      final KernelEventManager eventMgr = kernel.getEventManager();
      final long currentTime = System.currentTimeMillis();
      final String type = this.getNotificationType();
      final KernelEvent event = new AbstractEvent(eventMgr, type, 0, currentTime, new Long(currentTime));
      eventMgr.fireKernelEvent(event);

      // Log
      log.debug("Fired: " + event);
   }
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.