[jboss-jira] [JBoss JIRA] (AS7-4059) Allow RestartParentXXXHandlers to handle resources with multiple services
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Mon Mar 12 12:06:47 EDT 2012
[ https://issues.jboss.org/browse/AS7-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676086#comment-12676086 ]
Brian Stansberry commented on AS7-4059:
---------------------------------------
Richard, you rate this as minor, but when do you want it done? I'd rather have someone spend a day on this and save you a day than have you spend a day working around it.
> 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