Hello Jose,
SVNKit uses repositories (and connections) pool that is disposed when
you call SVNClientManager.dispose(). Some of the SSH connections (in
case you're using svn+ssh protocol) might be left open, but will be
anyway closed on timeout (10 minutes).
So, you do not have to do any additional calls in your program (in case
you access all the SVN*Client objects through SVNClientManager).
Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
Jose Noheda wrote:
> Hi all,
>
> I have a working prototype that checks a remote repository URL. At boot
> time it registers:
>
> DAVRepositoryFactory.setup();
> SVNRepositoryFactoryImpl.setup();
>
> And at context destroy it calls SVNClientManager.dispose. But other than
> that I only use the SVNClientManager.getXXX() methods. I'm afraid I
> could be leaving unclosed connections to the server in the process. Is
> it so? Or SVNKit just handles the connection life cycle and closes them
> automatically reopening one when it's needed?
>
> Regards
---------------------------------------------------------------------
To unsubscribe, e-mail:
svnkit-users-unsubscribe@...
For additional commands, e-mail:
svnkit-users-help@...