// first check whether the requested resource is a StarResource
if (StarResource.appliesTo(realPath)) {
log.debug("resolve: Mapped path {} is a Star Resource",
realPath);
res = new StarResource(this, ensureAbsPath(realPath),
factory.getJcrResourceTypeProviders());
} else
if (realPath.startsWith("/")) {