Index: topia-service/src/java/org/codelutin/topia/index/LuceneIndexer.java diff -u topia-service/src/java/org/codelutin/topia/index/LuceneIndexer.java:1.4 topia-service/src/java/org/codelutin/topia/index/LuceneIndexer.java:1.5 --- topia-service/src/java/org/codelutin/topia/index/LuceneIndexer.java:1.4 Mon Apr 2 14:23:18 2007 +++ topia-service/src/java/org/codelutin/topia/index/LuceneIndexer.java Tue Nov 20 15:16:36 2007 @@ -23,9 +23,9 @@ * Created: 8 oct. 06 15:48:37 * * @author poussin - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ * - * Last update: $Date: 2007-04-02 14:23:18 $ + * Last update: $Date: 2007-11-20 15:16:36 $ * by : $Author: chatellier $ */ @@ -124,15 +124,18 @@ /* (non-Javadoc) * @see org.codelutin.topia.framework.TopiaService#init(org.codelutin.topia.framework.TopiaContextImplementor) */ - public void preInit(TopiaContextImplementor context) { + public boolean preInit(TopiaContextImplementor context) { + return true; } - public void postInit(TopiaContextImplementor context) { + public boolean postInit(TopiaContextImplementor context) { this.context = context; Properties prop = context.getConfig(); String dirname = prop.getProperty("topia.index.lucene.directory"); directory = new File(dirname); directory.mkdirs(); + + return true; } public void clearLastRecordedIndexation() {