public interface RepositoryBackend
Repository
.RepositoryImpl
Modifier and Type | Interface and Description |
---|---|
static class |
RepositoryBackend.MapperKind
|
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,
RepositoryBackend.MapperKind kind)
Creates a new instance a
Mapper . |
void |
shutdown()
Shuts down the backend.
|
void initialize(RepositoryImpl repository) throws StorageException
StorageException
void initializeModelSetup(ModelSetup modelSetup) throws StorageException
ModelSetup
. Called once lazily at repository initialization.StorageException
void initializeModel(Model model) throws StorageException
Model
has been created. Called once lazily at repository
initialization.StorageException
Mapper newMapper(Model model, Session.PathResolver pathResolver, RepositoryBackend.MapperKind kind) throws StorageException
Mapper
. Called once for every new session.model
- the modelpathResolver
- the path resolverkind
- the kind of mapper to createStorageException
void shutdown() throws StorageException
StorageException
Copyright © 2015 Nuxeo SA. All rights reserved.