public interface Repository extends ConnectionFactory, RepositoryManagement
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the repository and release all resources.
|
Session |
getConnection()
Gets a new connection by logging in to the repository with default
credentials.
|
Session |
getConnection(ConnectionSpec connectionSpec)
Gets a new connection by logging in to the repository with given
connection information (credentials).
|
getMetaData, getRecordFactorysetReferencegetReferenceactivateServer, clearCaches, deactivateServer, getActiveSessionsCount, getBinaryGarbageCollector, getClientInfos, getName, getServerURL, isServerActivated, markReferencedBinaries, processClusterInvalidationsNextSession getConnection() throws StorageException
getConnection in interface ConnectionFactoryStorageExceptionSession getConnection(ConnectionSpec connectionSpec) throws StorageException
getConnection in interface ConnectionFactoryconnectionSpec - the parameters to use to connnectStorageExceptionvoid close()
throws StorageException
StorageExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.