I'm trying to connect to many SVN repositories in parallel, using different threads, with SVNKit.
Looking at some code examples online, it looks like before using SVNKit I have to initialize it using the static methods
DAVRepositoryFactory.setup();
SVNRepositoryFactoryImpl.setup();
FSRepositoryFactory.setup();
Obviously static methods make me concerned in a multithreaded environment. My question is:
- Is it possible to use SVNKit this way, in parallel?
- When do I need to call these setup methods? Only at the beginning of the software, once for each thread, what?
I would also be glad if someone could explain the reason I have to call these methods.