Package com.google.enterprise.connector.spi

Examples of com.google.enterprise.connector.spi.Lister


  /** Start up the Lister for the connector, if this CM allows feeding. */
  private synchronized void startLister() throws InstantiatorException {
    if (Context.getInstance().isFeeding()) {
      try {
        Lister lister = getLister();
        if (lister != null) {
          LOGGER.fine("Starting Lister for connector " + name);
          lister.setDocumentAcceptor(new DocumentAcceptorImpl(
              name, pusherFactory));
          listerHandle = threadPool.submit(new CancelableLister(name, lister));
        }
      } catch (ConnectorNotFoundException e) {
        throw new InstantiatorException("Connector not found " + name, e);
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.spi.Lister

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.