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

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Tue Mar 6 14:10:36 EST 2012


Richard Achmatowicz created AS7-4059:
----------------------------------------

             Summary: Allow RestartParentXXXHandlers to handle resources with multiple services
                 Key: AS7-4059
                 URL: https://issues.jboss.org/browse/AS7-4059
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Domain Management
    Affects Versions: 7.1.0.Final
            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list