org.apache.jackrabbit.rmi.jackrabbit
Class ServerJackrabbitWorkspace

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.apache.jackrabbit.rmi.server.ServerObject
                  extended by org.apache.jackrabbit.rmi.server.ServerWorkspace
                      extended by org.apache.jackrabbit.rmi.jackrabbit.ServerJackrabbitWorkspace
All Implemented Interfaces:
Serializable, Remote, RemoteJackrabbitWorkspace, RemoteWorkspace

public class ServerJackrabbitWorkspace
extends ServerWorkspace
implements RemoteJackrabbitWorkspace

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ServerJackrabbitWorkspace(JackrabbitWorkspace workspace, RemoteAdapterFactory factory)
           
 
Method Summary
 void createWorkspace(String name, byte[] template)
          Creates a new workspace.
 
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerWorkspace
clone, copy, copy, getAccessibleWorkspaceNames, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, importXML, move
 
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
 
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteWorkspace
clone, copy, copy, getAccessibleWorkspaceNames, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, importXML, move
 

Constructor Detail

ServerJackrabbitWorkspace

public ServerJackrabbitWorkspace(JackrabbitWorkspace workspace,
                                 RemoteAdapterFactory factory)
                          throws RemoteException
Throws:
RemoteException
Method Detail

createWorkspace

public void createWorkspace(String name,
                            byte[] template)
                     throws RepositoryException
Description copied from interface: RemoteJackrabbitWorkspace
Creates a new workspace.

Specified by:
createWorkspace in interface RemoteJackrabbitWorkspace
Parameters:
name - workspace name
template - workspace configuration template, or null
Throws:
RepositoryException - if a repository error occurs


Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.