public class JDBCBackend extends Object implements RepositoryBackend
Constructor and Description |
---|
JDBCBackend() |
Modifier and Type | Method and Description |
---|---|
Model |
initialize(RepositoryImpl repository)
Initializer.
|
Mapper |
newMapper(Session.PathResolver pathResolver,
boolean useInvalidations)
Creates a new instance a
Mapper . |
void |
setClusterInvalidator(ClusterInvalidator clusterInvalidator)
Sets the cluster invalidator, to be used by future mappers created.
|
void |
shutdown()
Shuts down the backend.
|
public JDBCBackend()
public Model initialize(RepositoryImpl repository)
RepositoryBackend
initialize
in interface RepositoryBackend
public void setClusterInvalidator(ClusterInvalidator clusterInvalidator)
RepositoryBackend
setClusterInvalidator
in interface RepositoryBackend
public Mapper newMapper(Session.PathResolver pathResolver, boolean useInvalidations)
RepositoryBackend
Mapper
. Called once for every new session.newMapper
in interface RepositoryBackend
pathResolver
- the path resolveruseInvalidations
- whether this mapper participates in invalidation propagationpublic void shutdown()
RepositoryBackend
shutdown
in interface RepositoryBackend
Copyright © 2018 Nuxeo. All rights reserved.