|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteServer java.rmi.server.UnicastRemoteObject org.apache.jackrabbit.rmi.server.ServerObject org.apache.jackrabbit.rmi.server.ServerRepository
public class ServerRepository
Remote adapter for the JCR Repository
interface. This class makes a local repository available as an RMI service
using the
RemoteRepository
interface.
Repository
,
RemoteRepository
,
Serialized FormField Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Constructor Summary | |
---|---|
ServerRepository(Repository repository,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local repository. |
Method Summary | |
---|---|
String |
getDescriptor(String name)
Remote version of the Repository.getDescriptor(String)
method. |
String[] |
getDescriptorKeys()
Remote version of the Repository.getDescriptorKeys()
method. |
RemoteSession |
login()
Remote version of the Repository.login( } method. |
RemoteSession |
login(Credentials credentials)
Remote version of the Repository.login(Credentials }
method. |
RemoteSession |
login(Credentials credentials,
String workspace)
Remote version of the Repository.login(Credentials,String }
method. |
RemoteSession |
login(String workspace)
Remote version of the Repository.login(String }
method. |
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject |
---|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
---|
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
---|
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
---|
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServerRepository(Repository repository, RemoteAdapterFactory factory) throws RemoteException
repository
- local repositoryfactory
- remote adapter factory
RemoteException
- on RMI errorsMethod Detail |
---|
public String getDescriptor(String name) throws RemoteException
Repository.getDescriptor(String)
method.
getDescriptor
in interface RemoteRepository
name
- descriptor key
RemoteException
- on RMI errorspublic String[] getDescriptorKeys() throws RemoteException
Repository.getDescriptorKeys()
method.
getDescriptorKeys
in interface RemoteRepository
RemoteException
- on RMI errorspublic RemoteSession login() throws RepositoryException, RemoteException
Repository.login(
} method.
login
in interface RemoteRepository
RepositoryException
- on repository errors
RemoteException
- on RMI errorspublic RemoteSession login(String workspace) throws RepositoryException, RemoteException
Repository.login(String
}
method.
login
in interface RemoteRepository
workspace
- workspace name
RepositoryException
- on repository errors
RemoteException
- on RMI errorspublic RemoteSession login(Credentials credentials) throws RepositoryException, RemoteException
Repository.login(Credentials
}
method.
login
in interface RemoteRepository
credentials
- client credentials
RepositoryException
- on repository errors
RemoteException
- on RMI errorspublic RemoteSession login(Credentials credentials, String workspace) throws RepositoryException, RemoteException
Repository.login(Credentials,String
}
method.
login
in interface RemoteRepository
credentials
- client credentialsworkspace
- workspace name
RepositoryException
- on repository errors
RemoteException
- on RMI errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |