01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.repository.event;
07:
08: import org.openrdf.repository.RepositoryConnection;
09:
10: /**
11: *
12: * @author Herko ter Horst
13: */
14: public interface NotifyingRepositoryConnection extends
15: RepositoryConnection {
16:
17: /**
18: * Registers a <tt>RepositoryConnectionListener</tt> that will receive
19: * notifications of operations that are performed on this connection.
20: */
21: public void addRepositoryConnectionListener(
22: RepositoryConnectionListener listener);
23:
24: /**
25: * Removes a registered <tt>RepositoryConnectionListener</tt> from this
26: * connection.
27: */
28: public void removeRepositoryConnectionListener(
29: RepositoryConnectionListener listener);
30:
31: }
|