Package org.olat.core.commons.services.search

Examples of org.olat.core.commons.services.search.SearchServiceStatus


   * @see org.olat.core.configuration.OLATModule#destroy()
   */
  public void destroy() {
    //TODO: not nice - check is Local, create two versions of searchServiceImpl via spring config
    if (SearchServiceImpl.getInstance().isLocal()) {
      SearchServiceStatus status = SearchServiceImpl.getInstance().getStatus();
      String statusStr = status.getStatus();
      if(statusStr.equals(FullIndexerStatus.STATUS_RUNNING)){
        //stop only if running.
        SearchServiceImpl.getInstance().stop();
      }
    }
View Full Code Here

TOP

Related Classes of org.olat.core.commons.services.search.SearchServiceStatus

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.