|
||||||||||
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 | |
---|---|
DnaJcrRepositoryProvider | Repository provider backed by the DNA JCR implementation. |
Service provider interface (SPI) for the JCR implementation that backs the DNA JCR REST server.
Service providers must provide a thread-safe implementation of the RepositoryProvider
interface
which is then bundled in the server WAR. The REST server can be configured to use the provider by specifying
the fully-qualified name (FQN) of the custom repository provider class in the org.jboss.dna.web.jcr.rest.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 |