|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientRepository
public class ClientRepository
Local adapter for the JCR-RMI
RemoteRepository
interface. This class makes a remote repository locally available using
the JCR Repository
interface.
Repository
,
RemoteRepository
Field Summary |
---|
Constructor Summary | |
---|---|
ClientRepository(RemoteRepository remote,
LocalAdapterFactory factory)
Creates a client adapter for the given remote repository. |
Method Summary | |
---|---|
String |
getDescriptor(String name)
|
String[] |
getDescriptorKeys()
|
Session |
login()
|
Session |
login(Credentials credentials)
|
Session |
login(Credentials credentials,
String workspace)
|
Session |
login(String workspace)
|
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject |
---|
getFactory, getItem, getNode, getNodeTypeArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientRepository(RemoteRepository remote, LocalAdapterFactory factory)
remote
- remote repositoryfactory
- local adapter factoryMethod Detail |
---|
public String getDescriptor(String name)
getDescriptor
in interface Repository
public String[] getDescriptorKeys()
getDescriptorKeys
in interface Repository
public Session login() throws RepositoryException
login
in interface Repository
RepositoryException
public Session login(String workspace) throws RepositoryException
login
in interface Repository
RepositoryException
public Session login(Credentials credentials) throws RepositoryException
login
in interface Repository
RepositoryException
public Session login(Credentials credentials, String workspace) throws RepositoryException
login
in interface Repository
RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |