@Deprecated
public class RepositoryAccessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JNDI_PREFIX
Deprecated.
|
static java.lang.String |
REPOSITORY_URL_OVERRIDE_PROPERTY
Deprecated.
Name of the property that the jcr client and server bundles to override
their default configuration settings and connect to the specified
repository instead (SLING-254 and SLING-260)
|
static java.lang.String |
RMI_PREFIX
Deprecated.
|
Constructor and Description |
---|
RepositoryAccessor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Repository |
getRepository(java.lang.String repositoryName,
java.util.Hashtable<java.lang.String,java.lang.Object> jndiContext)
Deprecated.
No longer supported
|
Repository |
getRepositoryFromURL(java.lang.String url)
Deprecated.
No longer supported
|
@Deprecated public static final java.lang.String RMI_PREFIX
@Deprecated public static final java.lang.String JNDI_PREFIX
public static final java.lang.String REPOSITORY_URL_OVERRIDE_PROPERTY
@Deprecated public Repository getRepository(java.lang.String repositoryName, java.util.Hashtable<java.lang.String,java.lang.Object> jndiContext)
repositoryName
- JNDI name or RMI URL (must start with "rmi://") of
the RepositoryjndiContext
- if null, JNDI is not triedjava.lang.UnsupportedOperationException
- Always throws UnsupportedOperationException
@Deprecated public Repository getRepositoryFromURL(java.lang.String url)
url
- for RMI, an RMI URL. For JNDI, "jndi://", followed by the JNDI
repository name, followed by a colon and a comma-separated
list of JNDI context values, for example:
jndi://jackrabbit:java.naming.factory.initial=org.SomeClass,java.naming.provider.url=http://foo.com
java.lang.UnsupportedOperationException
- Always throws UnsupportedOperationException
Copyright © 2010 - 2024 Adobe. All Rights Reserved