org.openrdf.repository.threadproxy
Class ThreadProxyRepositoryConnection
java.lang.Object
org.openrdf.repository.base.RepositoryConnectionBase
org.openrdf.repository.base.RepositoryConnectionWrapper
org.openrdf.repository.threadproxy.ThreadProxyRepositoryConnection
- All Implemented Interfaces:
- DelegatingRepositoryConnection, RepositoryConnection
public class ThreadProxyRepositoryConnection
- extends RepositoryConnectionWrapper
RepositoryConnection that proxies the method calls to a thread local delegate
connection.
- Author:
- James Leigh
| Methods inherited from class org.openrdf.repository.base.RepositoryConnectionWrapper |
add, add, add, add, add, add, add, add, addWithoutCommit, clear, clearNamespaces, commit, exportStatements, exportStatements, getContextIDs, getNamespace, getNamespaces, getStatements, hasStatement, hasStatement, isDelegatingAdd, isDelegatingRead, isDelegatingRemove, isEmpty, prepareBooleanQuery, prepareGraphQuery, prepareQuery, prepareTupleQuery, remove, remove, remove, remove, removeNamespace, removeWithoutCommit, rollback, setAutoCommit, setDelegate, setNamespace, size |
ThreadProxyRepositoryConnection
public ThreadProxyRepositoryConnection(ThreadProxyRepository repository)
getRepository
public ThreadProxyRepository getRepository()
- Specified by:
getRepository in interface RepositoryConnection- Overrides:
getRepository in class RepositoryConnectionBase
getDelegate
public RepositoryConnection getDelegate()
throws RepositoryException
- Specified by:
getDelegate in interface DelegatingRepositoryConnection- Overrides:
getDelegate in class RepositoryConnectionWrapper
- Throws:
RepositoryException
close
public void close()
throws RepositoryException
- Specified by:
close in interface RepositoryConnection- Overrides:
close in class RepositoryConnectionWrapper
- Throws:
RepositoryException
isAutoCommit
public boolean isAutoCommit()
throws RepositoryException
- Specified by:
isAutoCommit in interface RepositoryConnection- Overrides:
isAutoCommit in class RepositoryConnectionWrapper
- Throws:
RepositoryException
isOpen
public boolean isOpen()
throws RepositoryException
- Specified by:
isOpen in interface RepositoryConnection- Overrides:
isOpen in class RepositoryConnectionWrapper
- Throws:
RepositoryException
Copyright © 2004-2008 Aduna. All Rights Reserved.