public class JNDIRepositoryFactory extends java.lang.Object implements RepositoryFactory
| Constructor and Description |
|---|
JNDIRepositoryFactory(javax.naming.Context context,
java.lang.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 JNDIRepositoryFactory(javax.naming.Context context,
java.lang.String name)
context - JNDI contextname - JNDI name of the repositorypublic Repository getRepository() throws RepositoryException
getRepository in interface RepositoryFactoryRepositoryException - if the repository can not be foundCopyright © 2010 - 2023 Adobe. All Rights Reserved