|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
org.apache.jackrabbit.rmi.repository.JNDIRemoteRepositoryFactory
public class JNDIRemoteRepositoryFactory
Factory that looks up a remote repository from JNDI.
Constructor Summary | |
---|---|
JNDIRemoteRepositoryFactory(LocalAdapterFactory factory,
javax.naming.Context context,
java.lang.String location)
Creates a factory for looking up a remote repository from JNDI. |
Method Summary | |
---|---|
protected RemoteRepository |
getRemoteRepository()
Looks up a remote repository from JNDI. |
Methods inherited from class org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory |
---|
getRepository |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JNDIRemoteRepositoryFactory(LocalAdapterFactory factory, javax.naming.Context context, java.lang.String location)
factory
- local adapter factorycontext
- JNDI contextlocation
- JNDI locationMethod Detail |
---|
protected RemoteRepository getRemoteRepository() throws javax.jcr.RepositoryException
getRemoteRepository
in class AbstractRemoteRepositoryFactory
javax.jcr.RepositoryException
- if the remote repository is not available
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |