[jboss-jira] [JBoss JIRA] (WFCORE-111) Add "PathAddress getCurrentAddress()" to OperationContext

Brian Stansberry (JIRA) issues at jboss.org
Tue Sep 16 22:17:02 EDT 2014


    [ https://issues.jboss.org/browse/WFCORE-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003272#comment-13003272 ] 

Brian Stansberry commented on WFCORE-111:
-----------------------------------------

Note that AbstractOperationContext.activeStep.address has this data, so there's no need to calculate it; just expose it.

> Add "PathAddress getCurrentAddress()" to OperationContext
> ---------------------------------------------------------
>
>                 Key: WFCORE-111
>                 URL: https://issues.jboss.org/browse/WFCORE-111
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>
> There's a ton of this in OSH implementations:
> PathAddress.pathAddress(operation.require(ModelDescriptionConstants.OP_ADDR))
> which should be replaced with
> context.getCurrentAddress()



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


More information about the jboss-jira mailing list