|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
RepositoryProvider | Interface for any class that provides access to one or more local JCR repositories. |
Class Summary | |
---|---|
ModeShapeJcrRepositoryProvider | Repository provider backed by the ModeShape JCR implementation. |
Exception Summary | |
---|---|
NoSuchRepositoryException | Exception thrown when an operation attempts to access a repository that does not exist. |
Service provider interface (SPI) for the JCR implementation that backs the ModeShape web libraries.
Service providers must provide a thread-safe implementation of the RepositoryProvider
interface
which is then bundled in the server WAR. The web library can be configured to use the provider by specifying
the fully-qualified name (FQN) of the custom repository provider class in the org.modeshape.web.jcr.REPOSITORY_PROVIDER
context parameter
in the web configuration file (web.xml).
Custom repository providers for JCR implementations that do not support hosting multiple repositories in the same server
can context can ignore the repositoryName
parameter for RepositoryProvider#getSession(javax.servlet.http.HttpServletRequest, String, String)
,
but must always return a non-empty, non-null set containing some default repository name from RepositoryProvider#getJcrRepositoryNames()
.
RepositoryFactory
,
RepositoryProvider
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |