]
Brian Stansberry updated WFCORE-102:
------------------------------------
Git Pull Request:
Remove the need for OSH authors to deal with
ServiceVerificationHandler or removal of installed services in rollback
--------------------------------------------------------------------------------------------------------------------
Key: WFCORE-102
URL:
https://issues.jboss.org/browse/WFCORE-102
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 1.0.0.Alpha9
The various base classes OSH authors use to create handlers force the author to deal with
ServiceVerificationHandler and, during rollback, with removing any services the OSH added.
This task is to have the OperationContext handle these things transparently, removing the
need for authors to do so.
To preserve compatibility, the various API methods authors may have overridden that
expose the SVH and the list of added ServiceControllers will be retained (but deprecated),
but the SVH and the list of handlers won't be used. The API javadoc will encourage use
of method variants that don't use these parameters.