|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.storage.sql.jdbc.JDBCBackend
public class JDBCBackend
JDBC Backend for a repository.
Constructor Summary | |
---|---|
JDBCBackend()
|
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 |
---|
public JDBCBackend()
Method Detail |
---|
public void initialize(RepositoryImpl repository) throws StorageException
RepositoryBackend
initialize
in interface RepositoryBackend
StorageException
public void initializeModelSetup(ModelSetup modelSetup) throws StorageException
ModelSetup
. Called once lazily at repository
initialization.
Opens a connection to get the dialect and finish initializing the
ModelSetup
.
initializeModelSetup
in interface RepositoryBackend
StorageException
public void initializeModel(Model model) throws StorageException
Model
has been created.
Called once lazily at repository initialization.
Creates the SQLInfo
from the model and the dialect.
initializeModel
in interface RepositoryBackend
StorageException
public Mapper newMapper(Model model, Session.PathResolver pathResolver, Credentials credentials, boolean create) throws StorageException
RepositoryBackend
Mapper
. Called once for every new
session.
newMapper
in interface RepositoryBackend
model
- the modelpathResolver
- the path resolvercredentials
- the core session credentialscreate
- true
if the database has to be created
(initialization)
StorageException
public void shutdown() throws StorageException
RepositoryBackend
shutdown
in interface RepositoryBackend
StorageException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |