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) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveSessionsCount() |
String |
getName() |
Session |
getSession() |
void |
markReferencedBinaries()
Marks the binaries in use by passing them to the binary manager(s)'s GC mark() method.
|
void |
shutdown() |
public final RepositoryImpl repository
public SQLRepository(RepositoryDescriptor descriptor)
public String getName()
getName
in interface Repository
public Session getSession()
getSession
in interface Repository
public void shutdown()
shutdown
in interface Repository
public int getActiveSessionsCount()
getActiveSessionsCount
in interface Repository
public void markReferencedBinaries()
Repository
markReferencedBinaries
in interface Repository
Copyright © 2015 Nuxeo SA. All rights reserved.