static final RepositoryResolver<?> NONEResolver configured to open nothing.
Repository open(C req, String name) throws RepositoryNotFoundException, ServiceNotAuthorizedException, ServiceNotEnabledException, ServiceMayNotContinueExceptionLocate and open a reference to a
The caller is responsible for closing the returned Repository.
req- the current request, may be used to inspect session state including cookies or user authentication.
name- name of the repository, as parsed out of the URL.
- the opened repository instance, never null.
RepositoryNotFoundException- the repository does not exist or the name is incorrectly formatted as a repository name.
ServiceNotAuthorizedException- the repository may exist, but HTTP access is not allowed without authentication, i.e. this corresponds to an HTTP 401 Unauthorized.
ServiceNotEnabledException- the repository may exist, but HTTP access is not allowed on the target repository, for the current user.
ServiceMayNotContinueException- the repository may exist, but HTTP access is not allowed for the current request. The exception message contains a detailed message that should be shown to the user.