Package com.google.enterprise.connector.spi

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


    stopLister();
    lister = null;

    if (instanceInfo != null
        && instanceInfo.getConnector() instanceof ConnectorShutdownAware) {
      ConnectorShutdownAware csa =
          (ConnectorShutdownAware)(instanceInfo.getConnector());
      try {
        LOGGER.fine("Shutting down connector " + name);
        csa.shutdown();
      } catch (Exception e) {
        LOGGER.log(Level.WARNING, "Problem shutting down connector " + name
            + " during configuration update.", e);
      }

      if (delete) {
        try {
          LOGGER.fine("Removing connector " + name);
          csa.delete();
        } catch (Exception e) {
          LOGGER.log(Level.WARNING, "Failed to remove connector " + name, e);
        }
      }
    }
View Full Code Here

TOP

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

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.