[jboss-jira] [JBoss JIRA] (WFCORE-111) Add "PathAddress getCurrentAddress()" to OperationContext
Tomaz Cerar (JIRA)
issues at jboss.org
Wed Sep 17 08:25:02 EDT 2014
[ https://issues.jboss.org/browse/WFCORE-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003437#comment-13003437 ]
Tomaz Cerar commented on WFCORE-111:
------------------------------------
Also maybe add some helper methods to ease calculation of "parent" & "parent.parent"
That should probably be added to PathAddress itself.
so we can ease code like this final PathAddress parentAddress = address.subAddress(0, address.size() - 1);
> 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