org.openrdf.repository.threadproxy
Class ThreadProxyRepository

java.lang.Object
  extended by org.openrdf.repository.base.RepositoryWrapper
      extended by org.openrdf.repository.threadproxy.ThreadProxyRepository
All Implemented Interfaces:
DelegatingRepository, Repository

public class ThreadProxyRepository
extends RepositoryWrapper

Repository that uses a Connection Proxy, redirecting to a Thread specific Connection.

Author:
James Leigh

Constructor Summary
ThreadProxyRepository()
           
ThreadProxyRepository(Repository repository)
           
 
Method Summary
 RepositoryConnection getConnection()
           
 void setDelegate(Repository repository)
           
 
Methods inherited from class org.openrdf.repository.base.RepositoryWrapper
getDataDir, getDelegate, getValueFactory, initialize, isWritable, setDataDir, shutDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadProxyRepository

public ThreadProxyRepository()

ThreadProxyRepository

public ThreadProxyRepository(Repository repository)
Method Detail

setDelegate

public void setDelegate(Repository repository)
Specified by:
setDelegate in interface DelegatingRepository
Overrides:
setDelegate in class RepositoryWrapper

getConnection

public RepositoryConnection getConnection()
                                   throws RepositoryException
Specified by:
getConnection in interface Repository
Overrides:
getConnection in class RepositoryWrapper
Throws:
RepositoryException


Copyright © 2004-2008 Aduna. All Rights Reserved.