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 |
|---|---|
javax.jcr.Repository |
getRepository()
Looks up and returns the configured repository.
|
public javax.jcr.Repository getRepository()
throws javax.jcr.RepositoryException
getRepository in interface RepositoryFactoryjavax.jcr.RepositoryException - if the repository can not be foundCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.