|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.apache.jackrabbit.rmi.server.ServerObject
org.apache.jackrabbit.rmi.server.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 Form| Field 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, getRemoteNodeArray, getRemoteNodeDefArray, getRemoteNodeTypeArray, getRemoteNodeTypeArray, getRemotePropertyArray, getRemotePropertyDefArray, getRemoteRowArray, getRemoteVersionArray, getRemoteVersionArray, 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 errors| Method Detail |
public String getDescriptor(String name)
throws RemoteException
Repository.getDescriptor(String)
method.
getDescriptor in interface RemoteRepositoryname - descriptor key
RemoteException - on RMI errors
public String[] getDescriptorKeys()
throws RemoteException
Repository.getDescriptorKeys()
method.
getDescriptorKeys in interface RemoteRepositoryRemoteException - on RMI errors
public RemoteSession login()
throws RepositoryException,
RemoteException
Repository.login(} method.
login in interface RemoteRepositoryRepositoryException - on repository errors
RemoteException - on RMI errors
public RemoteSession login(String workspace)
throws RepositoryException,
RemoteException
Repository.login(String}
method.
login in interface RemoteRepositoryworkspace - workspace name
RepositoryException - on repository errors
RemoteException - on RMI errors
public RemoteSession login(Credentials credentials)
throws RepositoryException,
RemoteException
Repository.login(Credentials}
method.
login in interface RemoteRepositorycredentials - client credentials
RepositoryException - on repository errors
RemoteException - on RMI errors
public RemoteSession login(Credentials credentials,
String workspace)
throws RepositoryException,
RemoteException
Repository.login(Credentials,String}
method.
login in interface RemoteRepositorycredentials - client credentialsworkspace - workspace name
RemoteException - on RMI errors
RepositoryException - on repository errors
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||