Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.management
Class MonitoredBackend

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.management.MonitoredBackend
All Implemented Interfaces:
RepositoryBackend
Direct Known Subclasses:
MonitoredJDBCBackend, MonitoredNetBackend

public abstract class MonitoredBackend
extends Object
implements RepositoryBackend


Method Summary
 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, Credentials credentials, boolean create)
          Creates a new instance a Mapper.
 void shutdown()
          Shuts down the backend.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newMapper

public Mapper newMapper(Model model,
                        Session.PathResolver pathResolver,
                        Credentials credentials,
                        boolean create)
                 throws StorageException
Description copied from interface: RepositoryBackend
Creates a new instance a Mapper. Called once for every new session.

Specified by:
newMapper in interface RepositoryBackend
Parameters:
model - the model
pathResolver - the path resolver
credentials - the core session credentials
create - true if the database has to be created (initialization)
Throws:
StorageException

initialize

public void initialize(RepositoryImpl repository)
                throws StorageException
Description copied from interface: RepositoryBackend
Initializer.

Specified by:
initialize in interface RepositoryBackend
Throws:
StorageException

initializeModel

public void initializeModel(Model model)
                     throws StorageException
Description copied from interface: RepositoryBackend
Initializes what's needed after the Model has been created. Called once lazily at repository initialization.

Specified by:
initializeModel in interface RepositoryBackend
Throws:
StorageException

initializeModelSetup

public void initializeModelSetup(ModelSetup modelSetup)
                          throws StorageException
Description copied from interface: RepositoryBackend
Initializes the ModelSetup. Called once lazily at repository initialization.

Specified by:
initializeModelSetup in interface RepositoryBackend
Throws:
StorageException

shutdown

public void shutdown()
              throws StorageException
Description copied from interface: RepositoryBackend
Shuts down the backend.

Specified by:
shutdown in interface RepositoryBackend
Throws:
StorageException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.