org.openrdf.sail.helpers
Class NotifyingSailConnectionBase
java.lang.Object
org.openrdf.sail.helpers.SailConnectionBase
org.openrdf.sail.helpers.NotifyingSailConnectionBase
- All Implemented Interfaces:
- NotifyingSailConnection, SailConnection
- Direct Known Subclasses:
- MemoryStoreConnection, NativeStoreConnection
public abstract class NotifyingSailConnectionBase
- extends SailConnectionBase
- implements NotifyingSailConnection
Abstract Class offering base functionality for SailConnection
implementations.
- Author:
- Arjohn Kampman, jeen
| Methods inherited from class org.openrdf.sail.helpers.SailConnectionBase |
addStatement, addStatementInternal, autoStartTransaction, clear, clearInternal, clearNamespaces, clearNamespacesInternal, close, closeInternal, commit, commitInternal, evaluate, evaluateInternal, finalize, getContextIDs, getContextIDsInternal, getExclusiveConnectionLock, getNamespace, getNamespaceInternal, getNamespaces, getNamespacesInternal, getSharedConnectionLock, getStatements, getStatementsInternal, getTransactionLock, isOpen, iterationClosed, registerIteration, removeNamespace, removeNamespaceInternal, removeStatements, removeStatementsInternal, rollback, rollbackInternal, setNamespace, setNamespaceInternal, size, sizeInternal, startTransactionInternal, transactionActive, verifyIsOpen |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openrdf.sail.SailConnection |
addStatement, clear, clearNamespaces, close, commit, evaluate, getContextIDs, getNamespace, getNamespaces, getStatements, isOpen, removeNamespace, removeStatements, rollback, setNamespace, size |
NotifyingSailConnectionBase
public NotifyingSailConnectionBase(SailBase sailBase)
addConnectionListener
public void addConnectionListener(SailConnectionListener listener)
- Description copied from interface:
NotifyingSailConnection
- Registers a SailConnection listener with this SailConnection. The listener
should be notified of any statements that are added or removed as part of
this SailConnection.
- Specified by:
addConnectionListener in interface NotifyingSailConnection
- Parameters:
listener - A SailConnectionListener.
removeConnectionListener
public void removeConnectionListener(SailConnectionListener listener)
- Description copied from interface:
NotifyingSailConnection
- Deregisters a SailConnection listener with this SailConnection.
- Specified by:
removeConnectionListener in interface NotifyingSailConnection
- Parameters:
listener - A SailConnectionListener.
hasConnectionListeners
protected boolean hasConnectionListeners()
notifyStatementAdded
protected void notifyStatementAdded(Statement st)
notifyStatementRemoved
protected void notifyStatementRemoved(Statement st)
Copyright © 2001-2010 Aduna. All Rights Reserved.