use of org.apache.jackrabbit.jcr2spi.state.TransientItemStateFactory in project jackrabbit by apache.
the class WorkspaceManager method createItemStateFactory.
/**
* @return a new instance of <code>TransientItemStateFactory</code>.
* @throws RepositoryException If an error occurs.
*/
private TransientItemStateFactory createItemStateFactory() throws RepositoryException {
cache = service.getItemInfoCache(sessionInfo);
WorkspaceItemStateFactory isf = new WorkspaceItemStateFactory(service, sessionInfo, getItemDefinitionProvider(), cache);
TransientItemStateFactory tisf = new TransientISFactory(isf, getItemDefinitionProvider());
return tisf;
}
Aggregations