|
||||||||||
| 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.ServerWorkspace
public class ServerWorkspace
Remote adapter for the JCR Workspace interface.
This class makes a local workspace available as an RMI service using the
RemoteWorkspace interface.
Workspace,
RemoteWorkspace,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
ServerWorkspace(javax.jcr.Workspace workspace,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local workspace. |
|
| Method Summary | |
|---|---|
void |
clone(java.lang.String workspace,
java.lang.String from,
java.lang.String to,
boolean removeExisting)
Remote version of the Workspace.clone(String,String,String,boolean)
method. |
void |
copy(java.lang.String from,
java.lang.String to)
Remote version of the Workspace.copy(String,String)
method. |
void |
copy(java.lang.String workspace,
java.lang.String from,
java.lang.String to)
Remote version of the Workspace.copy(String,String,String)
method. |
java.lang.String[] |
getAccessibleWorkspaceNames()
Remote version of the Workspace.getAccessibleWorkspaceNames()
method. |
java.lang.String |
getName()
Remote version of the Workspace.getName() method. |
RemoteNamespaceRegistry |
getNamespaceRegistry()
Remote version of the Workspace.getNamespaceRegistry()
method. |
RemoteNodeTypeManager |
getNodeTypeManager()
Remote version of the Workspace.getNodeTypeManager()
method. |
RemoteObservationManager |
getObservationManager()
Remote version of the Workspace.getObservationManager()
method. |
RemoteQueryManager |
getQueryManager()
Remote version of the Workspace.getQueryManager()
method. |
void |
importXML(java.lang.String path,
byte[] xml,
int uuidBehaviour)
Remote version of the Workspace.importXML(String,InputStream,int)
method. |
void |
move(java.lang.String from,
java.lang.String to)
Remote version of the Workspace.move(String,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 ServerWorkspace(javax.jcr.Workspace workspace,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
workspace - local workspacefactory - remote adapter factory
java.rmi.RemoteException - on RMI errors| Method Detail |
|---|
public java.lang.String getName()
throws java.rmi.RemoteException
Workspace.getName() method.
getName in interface RemoteWorkspacejava.rmi.RemoteException - on RMI errors
public void copy(java.lang.String from,
java.lang.String to)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.copy(String,String)
method.
copy in interface RemoteWorkspacefrom - source pathto - destination path
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public void copy(java.lang.String workspace,
java.lang.String from,
java.lang.String to)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.copy(String,String,String)
method.
copy in interface RemoteWorkspaceworkspace - source workspacefrom - source pathto - destination path
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public void clone(java.lang.String workspace,
java.lang.String from,
java.lang.String to,
boolean removeExisting)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.clone(String,String,String,boolean)
method.
clone in interface RemoteWorkspaceworkspace - source workspacefrom - source pathto - destination pathremoveExisting - flag to remove existing items
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public void move(java.lang.String from,
java.lang.String to)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.move(String,String)
method.
move in interface RemoteWorkspacefrom - source pathto - destination path
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public RemoteNodeTypeManager getNodeTypeManager()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.getNodeTypeManager()
method.
getNodeTypeManager in interface RemoteWorkspacejavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public RemoteNamespaceRegistry getNamespaceRegistry()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.getNamespaceRegistry()
method.
getNamespaceRegistry in interface RemoteWorkspacejavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public RemoteQueryManager getQueryManager()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.getQueryManager()
method.
getQueryManager in interface RemoteWorkspacejavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public RemoteObservationManager getObservationManager()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.getObservationManager()
method.
getObservationManager in interface RemoteWorkspacejavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public java.lang.String[] getAccessibleWorkspaceNames()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.getAccessibleWorkspaceNames()
method.
getAccessibleWorkspaceNames in interface RemoteWorkspacejavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public void importXML(java.lang.String path,
byte[] xml,
int uuidBehaviour)
throws java.io.IOException,
javax.jcr.RepositoryException,
java.rmi.RemoteException
Workspace.importXML(String,InputStream,int)
method.
importXML in interface RemoteWorkspacepath - node pathxml - imported XML documentuuidBehaviour - uuid behaviour flag
java.io.IOException - on IO errors
java.rmi.RemoteException - on RMI errors
javax.jcr.RepositoryException - on repository errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||