final RepositoryResourceBundleData bdata = (RepositoryResourceBundleData) data;
final Repository repository = bdata.getRepository();
try
{
final StaticDocumentBundle bundle = new StaticDocumentBundle(repository, manager, bdata.getBundleKey());
return new SimpleResource(data.getKey(), bundle, getFactoryType(), data.getVersion(manager));
}
catch (ResourceException e)
{
throw new ResourceCreationException("Unable to interpret document-bundle", e);
}