Examples of fireKernelEvent()


Examples of org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap.fireKernelEvent()

/* 101 */     this.kernelDeployer.deploy(url);
/*     */
/* 104 */     this.kernelDeployer.validate();
/*     */
/* 107 */     KernelEvent startEvent = bootstrap.createEvent("org.jboss.system.server.started", new Long(watch.getLapTime()));
/* 108 */     bootstrap.fireKernelEvent(startEvent);
/*     */
/* 110 */     this.bootstrap = bootstrap;
/*     */   }
/*     */
/*     */   protected void doShutdown()
View Full Code Here

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

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

         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

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
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.