|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.connector.svn.SVNRepositoryConnection
public class SVNRepositoryConnection

The defaultRepository connection to a SVN Repository instance.
| Constructor Summary | |
|---|---|
SVNRepositoryConnection(String sourceName,
org.tmatesoft.svn.core.io.SVNRepository defaultWorkspace,
Set<String> availableWorkspaceNames,
boolean creatingWorkspacesAllowed,
CachePolicy cachePolicy,
boolean updatesAllowed,
RepositoryAccessData accessData)
default workspace must can be a root repository or any folders from the root directory. |
|
| Method Summary | |
|---|---|
void |
close()
Close this connection to signal that it is no longer needed and that any accumulated resources are to be released. |
void |
execute(ExecutionContext context,
Request request)
Execute the supplied commands against this repository source. |
RepositoryAccessData |
getAccessData()
|
CachePolicy |
getDefaultCachePolicy()
Get the default cache policy for this repository. |
String |
getSourceName()
Get the name for this repository source. |
XAResource |
getXAResource()
Return the transactional resource associated with this connection. |
boolean |
ping(long time,
TimeUnit unit)
Ping the underlying system to determine if the connection is still valid and alive. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVNRepositoryConnection(String sourceName,
org.tmatesoft.svn.core.io.SVNRepository defaultWorkspace,
Set<String> availableWorkspaceNames,
boolean creatingWorkspacesAllowed,
CachePolicy cachePolicy,
boolean updatesAllowed,
RepositoryAccessData accessData)
sourceName - defaultWorkspace - availableWorkspaceNames - creatingWorkspacesAllowed - cachePolicy - updatesAllowed - accessData - | Method Detail |
|---|
public String getSourceName()
returned
by the same RepositorySource that created this connection.
getSourceName in interface RepositoryConnectionpublic CachePolicy getDefaultCachePolicy()
getDefaultCachePolicy in interface RepositoryConnectionpublic XAResource getXAResource()
getXAResource in interface RepositoryConnection
public boolean ping(long time,
TimeUnit unit)
ping in interface RepositoryConnectiontime - the length of time to wait before timing outunit - the time unit to use; may not be null
public void close()
close in interface RepositoryConnectionRepositoryConnection.close()
public void execute(ExecutionContext context,
Request request)
throws RepositorySourceException
execute in interface RepositoryConnectioncontext - the environment in which the commands are being executed; never nullrequest - the request to be executed; never null
RepositorySourceException - if there is a problem loading the node dataRepositoryConnection.execute(org.jboss.dna.graph.ExecutionContext,
org.jboss.dna.graph.request.Request)public RepositoryAccessData getAccessData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||