Search in sources :

Example 1 with TransientItemStateFactory

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;
}
Also used : TransientItemStateFactory(org.apache.jackrabbit.jcr2spi.state.TransientItemStateFactory) WorkspaceItemStateFactory(org.apache.jackrabbit.jcr2spi.state.WorkspaceItemStateFactory) TransientISFactory(org.apache.jackrabbit.jcr2spi.state.TransientISFactory)

Aggregations

TransientISFactory (org.apache.jackrabbit.jcr2spi.state.TransientISFactory)1 TransientItemStateFactory (org.apache.jackrabbit.jcr2spi.state.TransientItemStateFactory)1 WorkspaceItemStateFactory (org.apache.jackrabbit.jcr2spi.state.WorkspaceItemStateFactory)1