public class NotifyingSailConnectionWrapper extends SailConnectionWrapper implements NotifyingSailConnection
Constructor and Description |
---|
NotifyingSailConnectionWrapper(NotifyingSailConnection wrappedCon)
Creates a new TransactionWrapper object that wraps the supplied
connection.
|
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(SailConnectionListener listener)
Registers a SailConnection listener with this SailConnection.
|
NotifyingSailConnection |
getWrappedConnection()
Gets the connection that is wrapped by this object.
|
void |
removeConnectionListener(SailConnectionListener listener)
Deregisters a SailConnection listener with this SailConnection.
|
addStatement, addStatement, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, getContextIDs, getNamespace, getNamespaces, getStatements, isActive, isOpen, prepare, removeNamespace, removeStatement, removeStatements, rollback, setNamespace, size, size, startUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStatement, addStatement, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, getContextIDs, getNamespace, getNamespaces, getStatements, isActive, isOpen, prepare, removeNamespace, removeStatement, removeStatements, rollback, setNamespace, size, startUpdate
public NotifyingSailConnectionWrapper(NotifyingSailConnection wrappedCon)
public NotifyingSailConnection getWrappedConnection()
SailConnectionWrapper
getWrappedConnection
in class SailConnectionWrapper
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.Copyright © 2001-2013 Aduna. All Rights Reserved.