|
||||||||||
| 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(Workspace workspace,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local workspace. |
|
| Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject |
|---|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues |
| 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(Workspace workspace,
RemoteAdapterFactory factory)
throws RemoteException
workspace - local workspacefactory - remote adapter factory
RemoteException - on RMI errors| Method Detail |
|---|
public String getName()
throws RemoteException
Workspace.getName() method.
getName in interface RemoteWorkspaceRemoteException - on RMI errors
public void copy(String from,
String to)
throws RepositoryException,
RemoteException
Workspace.copy(String,String)
method.
copy in interface RemoteWorkspacefrom - source pathto - destination path
RepositoryException - on repository errors
RemoteException - on RMI errors
public void copy(String workspace,
String from,
String to)
throws RepositoryException,
RemoteException
Workspace.copy(String,String,String)
method.
copy in interface RemoteWorkspaceworkspace - source workspacefrom - source pathto - destination path
RepositoryException - on repository errors
RemoteException - on RMI errors
public void clone(String workspace,
String from,
String to,
boolean removeExisting)
throws RepositoryException,
RemoteException
Workspace.clone(String,String,String,boolean)
method.
clone in interface RemoteWorkspaceworkspace - source workspacefrom - source pathto - destination pathremoveExisting - flag to remove existing items
RepositoryException - on repository errors
RemoteException - on RMI errors
public void move(String from,
String to)
throws RepositoryException,
RemoteException
Workspace.move(String,String)
method.
move in interface RemoteWorkspacefrom - source pathto - destination path
RepositoryException - on repository errors
RemoteException - on RMI errors
public RemoteNodeTypeManager getNodeTypeManager()
throws RepositoryException,
RemoteException
Workspace.getNodeTypeManager()
method.
getNodeTypeManager in interface RemoteWorkspaceRepositoryException - on repository errors
RemoteException - on RMI errors
public RemoteNamespaceRegistry getNamespaceRegistry()
throws RepositoryException,
RemoteException
Workspace.getNamespaceRegistry()
method.
getNamespaceRegistry in interface RemoteWorkspaceRepositoryException - on repository errors
RemoteException - on RMI errors
public RemoteQueryManager getQueryManager()
throws RepositoryException,
RemoteException
Workspace.getQueryManager()
method.
getQueryManager in interface RemoteWorkspaceRepositoryException - on repository errors
RemoteException - on RMI errors
public RemoteObservationManager getObservationManager()
throws RepositoryException,
RemoteException
Workspace.getObservationManager()
method.
getObservationManager in interface RemoteWorkspaceRepositoryException - on repository errors
RemoteException - on RMI errors
public String[] getAccessibleWorkspaceNames()
throws RepositoryException,
RemoteException
Workspace.getAccessibleWorkspaceNames()
method.
getAccessibleWorkspaceNames in interface RemoteWorkspaceRepositoryException - on repository errors
RemoteException - on RMI errors
public void importXML(String path,
byte[] xml,
int uuidBehaviour)
throws IOException,
RepositoryException,
RemoteException
Workspace.importXML(String,InputStream,int)
method.
importXML in interface RemoteWorkspacepath - node pathxml - imported XML documentuuidBehaviour - uuid behaviour flag
IOException - on IO errors
RemoteException - on RMI errors
RepositoryException - on repository errors
public void createWorkspace(String name,
String source)
throws RepositoryException,
RemoteException
createWorkspace in interface RemoteWorkspaceRepositoryException
RemoteException
public void deleteWorkspace(String name)
throws RepositoryException,
RemoteException
deleteWorkspace in interface RemoteWorkspaceRepositoryException
RemoteException
public RemoteLockManager getLockManager()
throws RepositoryException,
RemoteException
getLockManager in interface RemoteWorkspaceRepositoryException
RemoteException
public RemoteVersionManager getVersionManager()
throws RepositoryException,
RemoteException
getVersionManager in interface RemoteWorkspaceRepositoryException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||