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 InterceptingRepositoryConnection extends
15: RepositoryConnection {
16:
17: /**
18: * Registers a <tt>RepositoryConnectionInterceptor</tt> that will receive
19: * notifications of operations that are performed on this connection.
20: */
21: public void addRepositoryConnectionInterceptor(
22: RepositoryConnectionInterceptor interceptor);
23:
24: /**
25: * Removes a registered <tt>RepositoryConnectionInterceptor</tt> from this
26: * connection.
27: */
28: public void removeRepositoryConnectionInterceptor(
29: RepositoryConnectionInterceptor interceptor);
30:
31: }
|