[jboss-jira] [JBoss JIRA] (WFCORE-102) Remove the need for OSH authors to deal with ServiceVerificationHandler or removal of installed services in rollback

Brian Stansberry (JIRA) issues at jboss.org
Mon Sep 15 14:26:02 EDT 2014


Brian Stansberry created WFCORE-102:
---------------------------------------

             Summary: 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.Beta1


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.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list