[jboss-jira] [JBoss JIRA] (WFCORE-4851) Expose CoreProcessStateService functionality used by subsystems via a capability

Yeray Borges Santana (Jira) issues at jboss.org
Mon Feb 17 06:10:00 EST 2020


Yeray Borges Santana created WFCORE-4851:
--------------------------------------------

             Summary: Expose CoreProcessStateService functionality used by subsystems via a capability
                 Key: WFCORE-4851
                 URL: https://issues.redhat.com/browse/WFCORE-4851
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Management
            Reporter: Yeray Borges Santana
            Assignee: Brian Stansberry
             Fix For: 11.0.0.Beta1


Subsystems are injecting CoreProcessStateService to track the process state, and perhaps more should as some are using graceful startup as a kind of trigger for beginning work, when the process reaching RUNNING state would be more appropriate. But:

1) they aren't using a capability for this wiring, because the kernel doesn't expose one
2) ControlledProcessStateService is not a clean API, as it exposes the MSC Service interface which should not be accessible to subsystems.

So, add a ProcessStateNotifier interface, and expose it via a capability. Impl is still ControlledProcessStateService.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list