[
https://issues.jboss.org/browse/WFCORE-1157?page=com.atlassian.jira.plugi...
]
Brian Stansberry commented on WFCORE-1157:
------------------------------------------
I think it's ok to use a listener on ControlledProcessState to trigger sending the
management notification.
I think hardcoding the starting notification is fine. Sending it at all is a bit silly as
there can't be any kernel management listeners at that point. I suppose there could be
a JMX listener of some type. I'm not sure if our jmx impl could retain that kind of
listener or if it would be dropped during the reload. Probably a listener added via some
-javaagent hook or something would be present during first boot and retained during reload
as that listener would have been registered with the original platform mbeanserver.
Managmement and JMX notifications when ControlledProcessState
changes
---------------------------------------------------------------------
Key: WFCORE-1157
URL:
https://issues.jboss.org/browse/WFCORE-1157
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management, JMX
Reporter: Brian Stansberry
Assignee: Kabir Khan
Fix For: 3.0.0.Alpha1
When Jeff Mesnil added the core management notification stuff an obvious thing to do was
to emit notifications around ControlledProcessState changes. But I forgot. :( So lets do
it.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)