Package org.openrdf.repository.event

Examples of org.openrdf.repository.event.NotifyingRepositoryConnection


  @Override
  public NotifyingRepositoryConnection getConnection()
    throws StoreException
  {
    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;
  }
View Full Code Here


  @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;
  }
View Full Code Here

TOP

Related Classes of org.openrdf.repository.event.NotifyingRepositoryConnection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.