public abstract class NotifyingSailConnectionBase extends AbstractSailConnection implements NotifyingSailConnection
connectionLock, updateLock
Constructor and Description |
---|
NotifyingSailConnectionBase(AbstractSail sailBase) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(SailConnectionListener listener)
Registers a SailConnection listener with this SailConnection.
|
protected boolean |
hasConnectionListeners() |
protected void |
notifyStatementAdded(Statement st) |
protected void |
notifyStatementRemoved(Statement st) |
void |
removeConnectionListener(SailConnectionListener listener)
Deregisters a SailConnection listener with this SailConnection.
|
addStatement, addStatement, addStatementInternal, autoStartTransaction, begin, begin, clear, clearInternal, clearNamespaces, clearNamespacesInternal, close, closeInternal, commit, commitInternal, endUpdate, endUpdateInternal, evaluate, evaluateInternal, flush, getContextIDs, getContextIDsInternal, getExclusiveConnectionLock, getNamespace, getNamespaceInternal, getNamespaces, getNamespacesInternal, getSharedConnectionLock, getStatements, getStatementsInternal, getTransactionIsolation, getTransactionLock, isActive, isActiveOperation, isOpen, iterationClosed, pendingAdds, pendingRemovals, prepare, prepareInternal, registerIteration, removeNamespace, removeNamespaceInternal, removeStatement, removeStatements, removeStatementsInternal, rollback, rollbackInternal, setNamespace, setNamespaceInternal, size, sizeInternal, startTransactionInternal, startUpdate, transactionActive, verifyIsActive, verifyIsOpen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStatement, addStatement, addStatement, addStatement, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, flush, getContextIDs, getNamespace, getNamespaces, getStatements, getStatements, hasStatement, isActive, isOpen, pendingRemovals, prepare, removeNamespace, removeStatement, removeStatement, removeStatements, removeStatements, rollback, setNamespace, size, startUpdate
public NotifyingSailConnectionBase(AbstractSail sailBase)
public void addConnectionListener(SailConnectionListener listener)
NotifyingSailConnection
addConnectionListener
in interface NotifyingSailConnection
listener
- A SailConnectionListener.public void removeConnectionListener(SailConnectionListener listener)
NotifyingSailConnection
removeConnectionListener
in interface NotifyingSailConnection
listener
- A SailConnectionListener.protected boolean hasConnectionListeners()
protected void notifyStatementAdded(Statement st)
protected void notifyStatementRemoved(Statement st)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.