public class SQLRepository extends Object implements Repository
Session
factory when the repository is used outside of a datasource.
(When repositories are looked up through JNDI, the class org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl is used instead of this one.) [suppressed link for solving cycle dependencies in eclipse]
This class is constructed by SQLRepositoryFactory
.
Modifier and Type | Field and Description |
---|---|
RepositoryImpl |
repository |
Constructor and Description |
---|
SQLRepository(RepositoryDescriptor descriptor) |
public final RepositoryImpl repository
public SQLRepository(RepositoryDescriptor descriptor)
public String getName()
getName
in interface Repository
public Session getSession(String sessionId) throws DocumentException
getSession
in interface Repository
DocumentException
public void shutdown()
shutdown
in interface Repository
public int getActiveSessionsCount()
getActiveSessionsCount
in interface Repository
Copyright © 2015 Nuxeo SA. All rights reserved.