@Deprecated public class RepositoryAccessor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JNDI_PREFIX
Deprecated.
|
static 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 String |
RMI_PREFIX
Deprecated.
|
| Constructor and Description |
|---|
RepositoryAccessor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jackrabbit.rmi.client.ClientRepositoryFactory |
getClientRepositoryFactory()
Deprecated.
No longer supported
|
protected org.apache.jackrabbit.rmi.client.LocalAdapterFactory |
getLocalAdapterFactory()
Deprecated.
No longer supported
|
javax.jcr.Repository |
getRepository(String repositoryName,
Hashtable<String,Object> jndiContext)
Deprecated.
No longer supported
|
javax.jcr.Repository |
getRepositoryFromURL(String url)
Deprecated.
No longer supported
|
@Deprecated public static final String RMI_PREFIX
@Deprecated public static final String JNDI_PREFIX
public static final String REPOSITORY_URL_OVERRIDE_PROPERTY
@Deprecated public javax.jcr.Repository getRepository(String repositoryName, Hashtable<String,Object> jndiContext)
repositoryName - JNDI name or RMI URL (must start with "rmi://") of
the RepositoryjndiContext - if null, JNDI is not triedUnsupportedOperationException - Always throws UnsupportedOperationException@Deprecated public javax.jcr.Repository getRepositoryFromURL(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
UnsupportedOperationException - Always throws UnsupportedOperationException@Deprecated protected org.apache.jackrabbit.rmi.client.LocalAdapterFactory getLocalAdapterFactory()
LocalAdapterFactory used to convert Jackrabbit
JCR RMI remote objects to local JCR API objects.
This method returns an instance of the
JackrabbitClientAdapterFactory which allows accessing
Jackrabbit (or Jackrabbit-based) repositories over RMI. Extensions of
this class may overwrite this method to use a different implementation.
LocalAdapterFactory used to convert Jackrabbit
JCR RMI remote objects to local JCR API objects.UnsupportedOperationException - Always throws UnsupportedOperationException@Deprecated protected org.apache.jackrabbit.rmi.client.ClientRepositoryFactory getClientRepositoryFactory()
ClientRepositoryFactory to access the remote
JCR repository over RMI.
This method creates an instance of the
ClientRepositoryFactory class initialized with the
LocalAdapterFactory returned from the
getLocalAdapterFactory() method. Extensions may overwrite this
method to return an extension of the Jackrabbit JCR RMI
ClientRepositoryFactory class.
ClientRepositoryFactory to access the remote
JCR repository over RMI.UnsupportedOperationException - Always throws UnsupportedOperationExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.