|
||||||||||
| 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.exoplatform.services.jcr.rmi.impl.server.ServerObject
org.exoplatform.services.jcr.rmi.impl.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 Form| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
ServerRepository(javax.jcr.Repository repository,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local repository. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescriptor(java.lang.String name)
Remote version of the Repository.getDescriptor(String) method. |
java.lang.String[] |
getDescriptorKeys()
Remote version of the Repository.getDescriptorKeys() method. |
RemoteSession |
login()
Remote version of the Repository.login( method. |
RemoteSession |
login(javax.jcr.Credentials credentials)
Remote version of the Repository.login(Credentials method. |
RemoteSession |
login(javax.jcr.Credentials credentials,
java.lang.String workspace)
Remote version of the Repository.login(Credentials,String method. |
RemoteSession |
login(java.lang.String workspace)
Remote version of the Repository.login(String
method. |
| Methods inherited from class org.exoplatform.services.jcr.rmi.impl.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(javax.jcr.Repository repository,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
repository - local repositoryfactory - remote adapter factory
java.rmi.RemoteException - on RMI errors| Method Detail |
|---|
public java.lang.String getDescriptor(java.lang.String name)
throws java.rmi.RemoteException
Repository.getDescriptor(String) method.
getDescriptor in interface RemoteRepositoryname - descriptor key
java.rmi.RemoteException - on RMI errors
public java.lang.String[] getDescriptorKeys()
throws java.rmi.RemoteException
Repository.getDescriptorKeys() method.
getDescriptorKeys in interface RemoteRepositoryjava.rmi.RemoteException - on RMI errors
public RemoteSession login()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Repository.login( method.
login in interface RemoteRepositoryjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public RemoteSession login(java.lang.String workspace)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Repository.login(String
method.
login in interface RemoteRepositoryworkspace - workspace name
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public RemoteSession login(javax.jcr.Credentials credentials)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Repository.login(Credentials method.
login in interface RemoteRepositorycredentials - client credentials
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public RemoteSession login(javax.jcr.Credentials credentials,
java.lang.String workspace)
throws java.rmi.RemoteException,
javax.jcr.RepositoryException
Repository.login(Credentials,String method.
login in interface RemoteRepositorycredentials - client credentialsworkspace - workspace name
java.rmi.RemoteException
javax.jcr.RepositoryException
javax.jcr.NoSuchWorkspaceException
javax.jcr.LoginException
java.rmi.RemoteException
javax.jcr.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||