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

Brian Stansberry (Jira) issues at jboss.org
Thu Aug 8 23:25:00 EDT 2019


     [ https://issues.jboss.org/browse/WFCORE-4594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-4594:
-------------------------------------
    Git Pull Request: https://github.com/wildfly/wildfly-core/pull/3889  (was: https://github.com/wildfly/wildfly-core/pull/3888)


> Expose CoreProcessStateService functionality used by subsystems via a capability
> --------------------------------------------------------------------------------
>
>                 Key: WFCORE-4594
>                 URL: https://issues.jboss.org/browse/WFCORE-4594
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Major
>
> 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.12.1#712002)


More information about the jboss-jira mailing list