01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail;
07:
08: import org.openrdf.model.Statement;
09:
10: public interface SailConnectionListener {
11:
12: /**
13: * Notifies the listener that a statement has been added in a transaction
14: * that it has registered itself with.
15: *
16: * @param st The statement that was added.
17: */
18: public void statementAdded(Statement st);
19:
20: /**
21: * Notifies the listener that a statement has been removed in a transaction
22: * that it has registered itself with.
23: *
24: * @param st The statement that was removed.
25: */
26: public void statementRemoved(Statement st);
27: }
|