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, flush, getContextIDs, getNamespace, getNamespaces, getStatements, isActive, isOpen, prepare, removeNamespace, removeStatement, removeStatements, rollback, setFederatedServiceResolver, setNamespace, size, size, startUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStatement, addStatement, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, flush, getContextIDs, getNamespace, getNamespaces, getStatements, hasStatement, isActive, isOpen, prepare, removeNamespace, removeStatement, removeStatements, rollback, setNamespace, 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 © 2001-2016 Aduna. All Rights Reserved.