code: protected Resource createResource(final OperationContext context, final ModelNode operation) {
          ImmutableManagementResourceRegistration registration = context.getResourceRegistration();
          if (registration != null) {
              Set<String> orderedChildTypes = registration.getOrderedChildTypes();
              boolean orderedChildResource = registration.isOrderedChildResource();
              if (orderedChildResource || orderedChildTypes.size() > 0) {
                  return new OrderedResourceCreator(orderedChildResource, orderedChildTypes).createResource(context, operation);
              }
          }
          return createResource(context);
      }
docs: Create the {@link Resource} that the {@link AbstractAddStepHandler#execute(OperationContext, ModelNode)}
  method operates on. This method is invoked during {@link org.jboss.as.controller.OperationContext.Stage#MODEL}.
  <p>
  This default implementation uses the {@link org.jboss.as.controller.OperationContext#createResource(PathAddress)
  default resource creation facility exposed by the context}. Subclasses wishing to create a custom resource
  type can override this method.
  
  @param context the operation context
  @param operation the operation