|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.commons.repository.JNDIRepositoryFactory
public class JNDIRepositoryFactory
Factory that looks up a repository from JNDI.
| Constructor Summary | |
|---|---|
JNDIRepositoryFactory(javax.naming.Context context,
java.lang.String name)
Creates a factory for looking up a repository from JNDI. |
|
| Method Summary | |
|---|---|
Repository |
getRepository()
Looks up and returns the configured repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JNDIRepositoryFactory(javax.naming.Context context,
java.lang.String name)
context - JNDI contextname - JNDI name of the repository| Method Detail |
|---|
public Repository getRepository()
throws RepositoryException
getRepository in interface RepositoryFactoryRepositoryException - if the repository can not be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||