org.modeshape.connector.svn
Class SvnRepository
java.lang.Object
org.modeshape.graph.connector.path.PathRepository
org.modeshape.graph.connector.path.WritablePathRepository
org.modeshape.connector.svn.SvnRepository
public class SvnRepository
- extends WritablePathRepository
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_BYTE_ARRAY
protected static final byte[] EMPTY_BYTE_ARRAY
source
protected final SvnRepositorySource source
SvnRepository
public SvnRepository(SvnRepositorySource source)
initialize
protected void initialize()
- Description copied from class:
PathRepository
- Initializes the repository by creating the default workspace.
Due to the ordering restrictions on constructor chaining, this method cannot be called until the repository is fully
initialized. This method MUST be called at the end of the constructor by any class that implements MapRepository
.
- Specified by:
initialize
in class PathRepository
getCache
public WorkspaceCache getCache(String workspaceName)
createWorkspace
protected WritablePathWorkspace createWorkspace(ExecutionContext context,
String name)
- Description copied from class:
WritablePathRepository
- Creates a new workspace with the given name containing only a root node.
This method does NOT automatically add the newly created workspace to the workspace map
or check to
see if a workspace already exists in this repository with the same name.
- Specified by:
createWorkspace
in class WritablePathRepository
- Parameters:
context
- the context in which the workspace is to be createdname
- the name of the workspace
- Returns:
- the newly created workspace; may not be null
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.