]
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.