Package com.liusoft.dlog4j.search

Examples of com.liusoft.dlog4j.search.SearchDataProvider


 
  public void run() {
    List objs = null;
    try {
      Date lastTime = getLastActiveTime(providerClass);
      SearchDataProvider sdp = (SearchDataProvider) Class.forName(
          providerClass).newInstance();
      if (lastTime == null)
        lastTime = new Date(0);
      objs = sdp.fetchAfter(lastTime);
      if (objs != null) {
        for (int i = 0; i < objs.size(); i++) {
          SearchEnabled obj = (SearchEnabled) objs.get(i);
          SearchProxy.add(obj);
          if (i > 0 && (i + 1) % 10 == 0)
View Full Code Here

TOP

Related Classes of com.liusoft.dlog4j.search.SearchDataProvider

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.