public interface RepositoryBackend
Repository
.RepositoryImpl
Modifier and Type | Method and Description |
---|---|
void |
initialize(RepositoryImpl repository)
Initializer.
|
void |
initializeModel(Model model)
Initializes what's needed after the
Model has been created. |
void |
initializeModelSetup(ModelSetup modelSetup)
Initializes the
ModelSetup . |
Mapper |
newMapper(Model model,
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.
|
void initialize(RepositoryImpl repository)
void initializeModelSetup(ModelSetup modelSetup)
ModelSetup
. Called once lazily at repository initialization.void initializeModel(Model model)
Model
has been created. Called once lazily at repository
initialization.void setClusterInvalidator(ClusterInvalidator clusterInvalidator)
Mapper newMapper(Model model, Session.PathResolver pathResolver, boolean useInvalidations)
Mapper
. Called once for every new session.model
- the modelpathResolver
- the path resolveruseInvalidations
- whether this mapper participates in invalidation propagationvoid shutdown()
Copyright © 2017 Nuxeo. All rights reserved.