{
            if (resourceAttributes == null)
            {
              resourceAttributes = resource.getResourceAttributes();
            }
            resourceAttributes.setArchive(archive);
          }