Class JNDIRemoteRepositoryFactory
- java.lang.Object
-
- org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
-
- org.apache.jackrabbit.rmi.repository.JNDIRemoteRepositoryFactory
-
@Deprecated(forRemoval=true) public class JNDIRemoteRepositoryFactory extends AbstractRemoteRepositoryFactory
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Factory that looks up a remote repository from JNDI.
- Since:
- 1.4
-
-
Constructor Summary
Constructors Constructor Description JNDIRemoteRepositoryFactory(LocalAdapterFactory factory, Context context, String location)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a factory for looking up a remote repository from JNDI.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected RemoteRepository
getRemoteRepository()
Deprecated, for removal: This API element is subject to removal in a future version.Looks up a remote repository from JNDI.-
Methods inherited from class org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
getRepository
-
-
-
-
Constructor Detail
-
JNDIRemoteRepositoryFactory
public JNDIRemoteRepositoryFactory(LocalAdapterFactory factory, Context context, String location)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a factory for looking up a remote repository from JNDI.- Parameters:
factory
- local adapter factorycontext
- JNDI contextlocation
- JNDI location
-
-
Method Detail
-
getRemoteRepository
protected RemoteRepository getRemoteRepository() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Looks up a remote repository from JNDI.- Specified by:
getRemoteRepository
in classAbstractRemoteRepositoryFactory
- Returns:
- remote repository reference
- Throws:
RepositoryException
- if the remote repository is not available
-
-