org.apache.jackrabbit.rmi.client
Class ClientRepository
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientRepository
- All Implemented Interfaces:
- javax.jcr.Repository
public class ClientRepository
- extends ClientObject
- implements javax.jcr.Repository
Local adapter for the JCR-RMI
RemoteRepository
interface. This class makes a remote repository locally available using
the JCR Repository
interface.
- See Also:
Repository
,
RemoteRepository
Fields inherited from interface javax.jcr.Repository |
LEVEL_1_SUPPORTED, LEVEL_2_SUPPORTED, OPTION_LOCKING_SUPPORTED, OPTION_OBSERVATION_SUPPORTED, OPTION_QUERY_SQL_SUPPORTED, OPTION_TRANSACTIONS_SUPPORTED, OPTION_VERSIONING_SUPPORTED, QUERY_XPATH_DOC_ORDER, QUERY_XPATH_POS_INDEX, REP_NAME_DESC, REP_VENDOR_DESC, REP_VENDOR_URL_DESC, REP_VERSION_DESC, SPEC_NAME_DESC, SPEC_VERSION_DESC |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientRepository
public ClientRepository(RemoteRepository remote,
LocalAdapterFactory factory)
- Creates a client adapter for the given remote repository.
- Parameters:
remote
- remote repositoryfactory
- local adapter factory
getDescriptor
public String getDescriptor(String name)
-
- Specified by:
getDescriptor
in interface javax.jcr.Repository
getDescriptorKeys
public String[] getDescriptorKeys()
-
- Specified by:
getDescriptorKeys
in interface javax.jcr.Repository
login
public javax.jcr.Session login()
throws javax.jcr.RepositoryException
-
- Specified by:
login
in interface javax.jcr.Repository
- Throws:
javax.jcr.RepositoryException
login
public javax.jcr.Session login(String workspace)
throws javax.jcr.RepositoryException
-
- Specified by:
login
in interface javax.jcr.Repository
- Throws:
javax.jcr.RepositoryException
login
public javax.jcr.Session login(javax.jcr.Credentials credentials)
throws javax.jcr.RepositoryException
-
- Specified by:
login
in interface javax.jcr.Repository
- Throws:
javax.jcr.RepositoryException
login
public javax.jcr.Session login(javax.jcr.Credentials credentials,
String workspace)
throws javax.jcr.RepositoryException
-
- Specified by:
login
in interface javax.jcr.Repository
- Throws:
javax.jcr.RepositoryException
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.