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, isActive, isOpen, pendingRemovals, prepare, prepareQuery, removeNamespace, removeStatement, removeStatements, rollback, setFederatedServiceResolver, setNamespace, setTransactionSettings, size, size, startUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatement, 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, startUpdatepublic NotifyingSailConnectionWrapper(NotifyingSailConnection wrappedCon)
NotifyingSailConnectionWrapper object that wraps the supplied connection.public NotifyingSailConnection getWrappedConnection()
SailConnectionWrappergetWrappedConnection in class SailConnectionWrapperpublic void addConnectionListener(SailConnectionListener listener)
addConnectionListener in interface NotifyingSailConnectionlistener - A SailConnectionListener.public void removeConnectionListener(SailConnectionListener listener)
removeConnectionListener in interface NotifyingSailConnectionlistener - A SailConnectionListener.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.