[jboss-jira] [JBoss JIRA] (WFCORE-332) Allow RestartParentXXXHandlers to handle resources with multiple services

Brian Stansberry (JIRA) issues at jboss.org
Mon Dec 1 15:52:51 EST 2014


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

Brian Stansberry moved WFLY-1165 to WFCORE-332:
-----------------------------------------------

        Project: WildFly Core  (was: WildFly)
            Key: WFCORE-332  (was: WFLY-1165)
    Component/s: Domain Management
                     (was: Domain Management)


> Allow RestartParentXXXHandlers to handle resources with multiple services
> -------------------------------------------------------------------------
>
>                 Key: WFCORE-332
>                 URL: https://issues.jboss.org/browse/WFCORE-332
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Richard Achmatowicz
>            Assignee: Jason Greene
>            Priority: Minor
>
> I'd like to use RestartParentWriteAttributeHandler to allow handling of attributes which, when updated, case a restart of only the services installed by their parent resource. These are really useful classes and solve a commonly encountered problem.
> However, the resource I want to restart involves four services, and it appears that RestartParentWriteAttriubuteHandler assumes that for every parent key name, there is only a single service registered.
> If we had the private methods:
> ServiceName[] getParentServiceNames(PathAddress address)
> boolean areParentServicesInstalled(ServiceName[] names)
> void removeServices(OperationContext context, ServiceNames[] names, ModelNode parentModel)
> this could be made to work for more general resources. 
>  



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list