util = (ContextUtility) this.serviceManager.lookup(ContextUtility.ROLE);
Request request = util.getRequest();
DocumentFactory factory = DocumentUtil.getDocumentFactory(this.serviceManager, request);
return PublicationUtil.getPublicationFromUrl(this.serviceManager, factory, url);
} catch (Exception e) {
throw new AccessControlException(e);
} finally {
if (util != null) {
this.serviceManager.release(util);
}
}