public class NotifyingSailConnectionWrapper extends SailConnectionWrapper implements NotifyingSailConnection
NotifyingSailConnection
interface that wraps another
NotifyingSailConnection
object and forwards any method calls to the wrapped
transaction.Constructor and Description |
---|
NotifyingSailConnectionWrapper(NotifyingSailConnection wrappedCon)
Creates a new
NotifyingSailConnectionWrapper object that wraps the supplied connection. |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(SailConnectionListener listener)
Adds the given listener to the wrapped connection.
|
NotifyingSailConnection |
getWrappedConnection()
Gets the connection that is wrapped by this object.
|
void |
removeConnectionListener(SailConnectionListener listener)
Removes the given listener from the wrapped connection.
|
addStatement, addStatement, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, explain, flush, getContextIDs, getNamespace, getNamespaces, getStatements, hasStatement, isActive, isOpen, pendingRemovals, prepare, prepareQuery, removeNamespace, removeStatement, removeStatements, rollback, setFederatedServiceResolver, setNamespace, setTransactionSettings, size, size, startUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStatement, addStatement, addStatement, addStatement, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, explain, flush, getContextIDs, getNamespace, getNamespaces, getStatements, getStatements, hasStatement, isActive, isOpen, pendingRemovals, prepare, prepareQuery, removeNamespace, removeStatement, removeStatement, removeStatements, removeStatements, rollback, setNamespace, setTransactionSettings, size, startUpdate
public NotifyingSailConnectionWrapper(NotifyingSailConnection wrappedCon)
NotifyingSailConnectionWrapper
object that wraps the supplied connection.public NotifyingSailConnection getWrappedConnection()
SailConnectionWrapper
getWrappedConnection
in class SailConnectionWrapper
public void addConnectionListener(SailConnectionListener listener)
addConnectionListener
in interface NotifyingSailConnection
listener
- A SailConnectionListener.public void removeConnectionListener(SailConnectionListener listener)
removeConnectionListener
in interface NotifyingSailConnection
listener
- A SailConnectionListener.Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.