]
Andrew Lee Rubinger resolved JBBOOT-54.
---------------------------------------
Resolution: Done
Fire Kernel Startup/Shutdown Events
-----------------------------------
Key: JBBOOT-54
URL:
https://jira.jboss.org/jira/browse/JBBOOT-54
Project: JBoss Bootstrap
Issue Type: Feature Request
Components: impl-mc
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 0.1.2
A requirement from the legacy implementation:
// 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);
and:
if (bootstrap != null)
{
KernelEvent stopEvent = bootstrap.createEvent(STOP_NOTIFICATION_TYPE, null);
bootstrap.fireKernelEvent(stopEvent);
}
Do this via the event handler mechanism supplied by JBBOOT-32.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: