public class JNDIRepositoryFactory extends Object implements RepositoryFactory
Constructor and Description |
---|
JNDIRepositoryFactory(Context context,
String name)
Creates a factory for looking up a repository from JNDI.
|
Modifier and Type | Method and Description |
---|---|
Repository |
getRepository()
Looks up and returns the configured repository.
|
public Repository getRepository() throws RepositoryException
getRepository
in interface RepositoryFactory
RepositoryException
- if the repository can not be foundCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.