public interface InitializationProcessor
Modifier and Type | Field and Description |
---|---|
static String |
INITIALIZATION_FOLDER |
Modifier and Type | Method and Description |
---|---|
List<javax.jcr.Node> |
loadExtension(javax.jcr.Session session,
URL extension)
Deprecated.
No longer functional as of 7.10. Always returning an empty List.
Use
loadExtensions(javax.jcr.Session) instead. |
List<javax.jcr.Node> |
loadExtensions(javax.jcr.Session session)
Load all hippoecm-extension.xml files that are on the current classpath into the repository.
|
boolean |
lock(javax.jcr.Session session)
Obtain a cluster-wide lock on the initialization process to prevent concurrent initialization attempts.
|
List<PostStartupTask> |
processInitializeItems(javax.jcr.Session session)
Process (execute) all pending initialize items currently loaded in the repository.
|
List<PostStartupTask> |
processInitializeItems(javax.jcr.Session session,
List<javax.jcr.Node> initializeItems)
Process (execute) a specific list of initialize items.
|
void |
setLogger(org.slf4j.Logger logger)
Deprecated.
No longer functional. Do not use.
|
void |
unlock(javax.jcr.Session session)
Free the lock previously obtained by the
lock(javax.jcr.Session) method. |
static final String INITIALIZATION_FOLDER
List<javax.jcr.Node> loadExtensions(javax.jcr.Session session) throws javax.jcr.RepositoryException, IOException
session
- the Session
to use.List
of initialize item Node
s that are pending after loadingjavax.jcr.RepositoryException
IOException
@Deprecated List<javax.jcr.Node> loadExtension(javax.jcr.Session session, URL extension) throws javax.jcr.RepositoryException, IOException
loadExtensions(javax.jcr.Session)
instead.session
- the Session
to use.extension
- the hippoecm-extension.xml to loadList
of initialize item Node
s that are pending after loadingjavax.jcr.RepositoryException
IOException
List<PostStartupTask> processInitializeItems(javax.jcr.Session session)
session
- the Session
to use.List<PostStartupTask> processInitializeItems(javax.jcr.Session session, List<javax.jcr.Node> initializeItems)
session
- the Session
to use.initializeItems
- the items to process@Deprecated void setLogger(org.slf4j.Logger logger)
logger
- the logger to useboolean lock(javax.jcr.Session session) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
void unlock(javax.jcr.Session session) throws javax.jcr.RepositoryException
lock(javax.jcr.Session)
method.javax.jcr.RepositoryException
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.