|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.sail.helpers.SailConnectionWrapper
org.openrdf.sail.helpers.NotifyingSailConnectionWrapper
public class NotifyingSailConnectionWrapper
An implementation of the Transaction interface that wraps another Transaction object and forwards any method calls to the wrapped transaction.
| Constructor Summary | |
|---|---|
NotifyingSailConnectionWrapper(NotifyingSailConnection wrappedCon)
Creates a new TransactionWrapper object that wraps the supplied connection. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.openrdf.sail.helpers.SailConnectionWrapper |
|---|
addStatement, clear, clearNamespaces, close, commit, evaluate, executeUpdate, getContextIDs, getNamespace, getNamespaces, getStatements, isOpen, removeNamespace, removeStatements, rollback, setNamespace, size, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openrdf.sail.SailConnection |
|---|
addStatement, clear, clearNamespaces, close, commit, evaluate, executeUpdate, getContextIDs, getNamespace, getNamespaces, getStatements, isOpen, removeNamespace, removeStatements, rollback, setNamespace, size |
| Constructor Detail |
|---|
public NotifyingSailConnectionWrapper(NotifyingSailConnection wrappedCon)
| Method Detail |
|---|
public NotifyingSailConnection getWrappedConnection()
SailConnectionWrapper
getWrappedConnection in class SailConnectionWrapperpublic void addConnectionListener(SailConnectionListener listener)
NotifyingSailConnection
addConnectionListener in interface NotifyingSailConnectionlistener - A SailConnectionListener.public void removeConnectionListener(SailConnectionListener listener)
NotifyingSailConnection
removeConnectionListener in interface NotifyingSailConnectionlistener - A SailConnectionListener.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||