|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.commons.repository.SingletonRepositoryFactory
public class SingletonRepositoryFactory
Repository factory that always returns the same configured repository.
| Constructor Summary | |
|---|---|
SingletonRepositoryFactory(Repository repository)
Creates a repository factory that always returns the given repository. |
|
| Method Summary | |
|---|---|
Repository |
getRepository()
Returns the configured repository instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingletonRepositoryFactory(Repository repository)
repository - singleton repository instance.| Method Detail |
|---|
public Repository getRepository()
getRepository in interface RepositoryFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||