org.outerj.daisy.ftindex
Class FullTextIndexUpdater
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.outerj.daisy.ftindex.FullTextIndexUpdater
- All Implemented Interfaces:
- org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, FullTextIndexUpdaterMBean
public class FullTextIndexUpdater
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Initializable, FullTextIndexUpdaterMBean, org.apache.avalon.framework.activity.Disposable
This component receives repository events from JMS, and if the event would influence
the full text index, adds an event upon the fulltext task queue. Also, it processes
the message on the fulltext task queue, by extracting indexable content from the documents
and calling the FullTextIndex
component to update its index for the document.
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullTextIndexUpdater
public FullTextIndexUpdater()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
service
public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
service
in interface org.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
initialize
public void initialize()
throws java.lang.Exception
- Specified by:
initialize
in interface org.apache.avalon.framework.activity.Initializable
- Throws:
java.lang.Exception
dispose
public void dispose()
- Specified by:
dispose
in interface org.apache.avalon.framework.activity.Disposable
reIndexDocuments
public void reIndexDocuments(java.lang.String query)
throws java.lang.Exception
- Specified by:
reIndexDocuments
in interface FullTextIndexUpdaterMBean
- Throws:
java.lang.Exception
reIndexAllDocuments
public void reIndexAllDocuments()
throws java.lang.Exception
- Specified by:
reIndexAllDocuments
in interface FullTextIndexUpdaterMBean
- Throws:
java.lang.Exception
Copyright © -2012 . All Rights Reserved.