{
ses =
sessionProviderService.getSessionProvider(null).getSession(workspace,
repositoryService.getRepository(repository));
Node script = ((Node)ses.getItem("/" + path)).getNode("jcr:content");
ResourceId key = new NodeScriptKey(repository, workspace, script);
ScriptMetadata meta = new ScriptMetadata(script.getProperty("exo:autoload").getBoolean(), //
groovyPublisher.isPublished(key), //
script.getProperty("jcr:mimeType").getString(), //
script.getProperty("jcr:lastModified").getDate().getTimeInMillis());