resource.setRuntimeServices(rsvc);
resource.setName(resourceName);
resource.setEncoding(encoding);
resource.setResourceLoader(_contextLoader);
resource.process();
resource.setLastModified(_contextLoader.getLastModified(resource));
resource.setModificationCheckInterval(_contextLoader.getModificationCheckInterval());
resource.touch();
return resource;