private void addOrderedChildTypeInfo(OperationContext context, Resource resource, ModelNode operation) { OrderedChildTypesAttachment attachment = context.getAttachment(OrderedChildTypesAttachment.KEY); if (attachment != null) { attachment.addOrderedChildResourceTypes(PathAddress.pathAddress(operation.get(OP_ADDR)), resource); } }
private void addOrderedChildTypeInfo(OperationContext context, Resource resource, ModelNode operation) { OrderedChildTypesAttachment attachment = context.getAttachment(OrderedChildTypesAttachment.KEY); if (attachment != null) { attachment.addOrderedChildResourceTypes(PathAddress.pathAddress(operation.get(OP_ADDR)), resource); } }
protected ModelNode createAddOperation(final OrderedChildTypesAttachment orderedChildTypesAttachment, final ModelNode address, final Resource resource, final Set<PathElement> children) { ModelNode addOp = createAddOperation(address, resource.getModel(), children); if (orderedChildTypesAttachment != null) { orderedChildTypesAttachment.addOrderedChildResourceTypes(PathAddress.pathAddress(address), resource); } return addOp; }
protected ModelNode createAddOperation(final OrderedChildTypesAttachment orderedChildTypesAttachment, final ModelNode address, final Resource resource, final Set<PathElement> children) { ModelNode addOp = createAddOperation(address, resource.getModel(), children); if (orderedChildTypesAttachment != null) { orderedChildTypesAttachment.addOrderedChildResourceTypes(PathAddress.pathAddress(address), resource); } return addOp; }