Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.net
Class NetBackend

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.net.NetBackend
All Implemented Interfaces:
RepositoryBackend

public class NetBackend
extends Object
implements RepositoryBackend

Network client backend for a repository.


Constructor Summary
NetBackend()
           
 
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
 

Constructor Detail

NetBackend

public NetBackend()
Method Detail

initialize

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

Specified by:
initialize 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

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

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

shutdown

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

Specified by:
shutdown in interface RepositoryBackend

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.