/*
* Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
*
* Licensed under the Aduna BSD-style license.
*/
package org.openrdf.repository.event;
import org.openrdf.repository.RepositoryConnection;
/**
*
* @author Herko ter Horst
*/
public interface NotifyingRepositoryConnection extends RepositoryConnection {
/**
* Registers a <tt>RepositoryConnectionListener</tt> that will receive
* notifications of operations that are performed on this connection.
*/
public void addRepositoryConnectionListener(RepositoryConnectionListener listener);
/**
* Removes a registered <tt>RepositoryConnectionListener</tt> from this
* connection.
*/
public void removeRepositoryConnectionListener(RepositoryConnectionListener listener);
}