Class JNDIRepositoryFactory
- java.lang.Object
-
- org.apache.jackrabbit.commons.repository.JNDIRepositoryFactory
-
- All Implemented Interfaces:
RepositoryFactory
@Deprecated(forRemoval=true) public class JNDIRepositoryFactory extends Object implements RepositoryFactory
Deprecated, for removal: This API element is subject to removal in a future version.useJndiRepositoryFactoryinsteadFactory that looks up a repository from JNDI.This class is deprecated and will be removed in future releases.
- Since:
- 1.4
-
-
Constructor Summary
Constructors Constructor Description JNDIRepositoryFactory(Context context, String name)Deprecated, for removal: This API element is subject to removal in a future version.Creates a factory for looking up a repository from JNDI.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RepositorygetRepository()Deprecated, for removal: This API element is subject to removal in a future version.Looks up and returns the configured repository.
-
-
-
Method Detail
-
getRepository
public Repository getRepository() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Looks up and returns the configured repository.- Specified by:
getRepositoryin interfaceRepositoryFactory- Returns:
- repository instance
- Throws:
RepositoryException- if the repository can not be found
-
-