1 23 24 package org.apache.slide.search; 25 26 import org.apache.slide.common.Domain; 27 import org.apache.slide.common.Uri; 28 import org.apache.slide.util.logger.Logger; 29 import org.apache.slide.content.NodeRevisionDescriptor; 30 import org.apache.slide.content.NodeRevisionContent; 31 import org.apache.slide.content.NodeRevisionNumber; 32 33 36 37 public class LoggingIndexer implements Indexer { 38 protected static final String LOG_CHANNEL = LoggingIndexer.class.getName(); 39 40 public void dropIndex(Uri uri, NodeRevisionNumber number) throws IndexException { 41 Domain.log("Drop index for Uri="+uri, LOG_CHANNEL, Logger.INFO); 42 } 43 44 public void createIndex(Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent) throws IndexException { 45 Domain.log("Create index for Uri="+uri, LOG_CHANNEL, Logger.INFO); 46 } 47 48 public void updateIndex(Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent) throws IndexException { 49 Domain.log("Update index for Uri="+uri, LOG_CHANNEL, Logger.INFO); 50 } 51 } | Popular Tags |