@Override
public NotifyingRepositoryConnection getConnection()
throws RepositoryException
{
NotifyingRepositoryConnection con = new NotifyingRepositoryConnectionWrapper(this,
super.getConnection(), getDefaultReportDeltas());
if (activated) {
for (RepositoryListener listener : listeners) {
listener.getConnection(this, con);
}
}
for (RepositoryConnectionListener l : conListeners) {
con.addRepositoryConnectionListener(l);
}
return con;
}