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.Repository;
09:
10: /**
11: *
12: * @author Herko ter Horst
13: */
14: public interface InterceptingRepository extends Repository {
15:
16: /**
17: * Registers a <tt>RepositoryInterceptor</tt> that will receive
18: * notifications of operations that are performed on this repository.
19: */
20: public void addRepositoryInterceptor(
21: RepositoryInterceptor interceptor);
22:
23: /**
24: * Removes a registered <tt>RepositoryInterceptor</tt> from this
25: * repository.
26: */
27: public void removeRepositoryInterceptor(
28: RepositoryInterceptor interceptor);
29:
30: }
|