|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.storage.sql.RepositoryImpl
public class RepositoryImpl
Repository
implementation, to be extended by backend-specific
initialization code.
RepositoryBackend
,
Serialized FormNested Class Summary | |
---|---|
static class |
RepositoryImpl.SessionPathResolver
|
Field Summary | |
---|---|
java.lang.String |
repositoryId
Transient id for this repository assigned by the server on first connection. |
static java.lang.String |
SERVER_PATH_BINARY
|
static java.lang.String |
SERVER_PATH_VCS
|
Constructor Summary | |
---|---|
RepositoryImpl(RepositoryDescriptor repositoryDescriptor)
|
Method Summary | |
---|---|
void |
activateServer()
Activates the VCS server used for remote connections. |
int |
clearCaches()
Clears all the caches. |
void |
close()
Closes the repository and release all resources. |
void |
deactivateServer()
Deactivates the VCS server used for remote connections. |
int |
getActiveSessionsCount()
Gets the number of active sessions. |
BinaryManager |
getBinaryManager()
|
java.util.Collection<MapperClientInfo> |
getClientInfos()
Get info about current VCS server clients |
SessionImpl |
getConnection()
Gets a new connection by logging in to the repository with default credentials. |
SessionImpl |
getConnection(javax.resource.cci.ConnectionSpec connectionSpec)
Gets a new connection by logging in to the repository with given connection information (credentials). |
HttpClient |
getHttpClient()
|
javax.resource.cci.ResourceAdapterMetaData |
getMetaData()
|
java.lang.String |
getName()
Gets the repository name. |
javax.resource.cci.RecordFactory |
getRecordFactory()
|
javax.naming.Reference |
getReference()
|
RepositoryDescriptor |
getRepositoryDescriptor()
|
java.lang.String |
getServerURL()
Which is the remote location ? |
boolean |
isServerActivated()
Is the server available remotely ? |
void |
processClusterInvalidationsNext()
Makes sure that the next transaction will process cluster invalidations. |
void |
setReference(javax.naming.Reference reference)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVER_PATH_VCS
public static final java.lang.String SERVER_PATH_BINARY
public java.lang.String repositoryId
Constructor Detail |
---|
public RepositoryImpl(RepositoryDescriptor repositoryDescriptor) throws StorageException
StorageException
Method Detail |
---|
public HttpClient getHttpClient()
public boolean isServerActivated()
RepositoryManagement
isServerActivated
in interface RepositoryManagement
public java.lang.String getServerURL()
RepositoryManagement
getServerURL
in interface RepositoryManagement
public void activateServer()
RepositoryManagement
activateServer
in interface RepositoryManagement
public void deactivateServer()
RepositoryManagement
deactivateServer
in interface RepositoryManagement
public java.util.Collection<MapperClientInfo> getClientInfos()
RepositoryManagement
getClientInfos
in interface RepositoryManagement
public RepositoryDescriptor getRepositoryDescriptor()
public BinaryManager getBinaryManager()
public SessionImpl getConnection() throws StorageException
getConnection
in interface javax.resource.cci.ConnectionFactory
getConnection
in interface Repository
StorageException
public SessionImpl getConnection(javax.resource.cci.ConnectionSpec connectionSpec) throws StorageException
getConnection
in interface javax.resource.cci.ConnectionFactory
getConnection
in interface Repository
connectionSpec
- the parameters to use to connnect
StorageException
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
getMetaData
in interface javax.resource.cci.ConnectionFactory
public javax.resource.cci.RecordFactory getRecordFactory()
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
public void setReference(javax.naming.Reference reference)
public javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
public void close() throws StorageException
Repository
close
in interface Repository
StorageException
public java.lang.String getName()
RepositoryManagement
getName
in interface RepositoryManagement
public int getActiveSessionsCount()
RepositoryManagement
getActiveSessionsCount
in interface RepositoryManagement
public int clearCaches()
RepositoryManagement
clearCaches
in interface RepositoryManagement
public void processClusterInvalidationsNext()
RepositoryManagement
processClusterInvalidationsNext
in interface RepositoryManagement
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |