Hi Erik,

Check: Introduction to the nutch plug-in architecture
http://www.media-style.com/index.jsp?folderPK=422
It gives some basic understanding of the plugin life cycle.

In short each plugin can have a plugin class you can define in the plugin deployment descriptor. This plugin class has life cycle methods that will be invoked until start up to create a db connection and until shutdown to close a db connection for example

HTH
Stefan

Am 21.07.2005 um 17:36 schrieb Erik Hatcher:

How could a Parser implementation do some cleanup at the end of the process? I'm new to the plugin lifecycle - is this currently possible?

I have an RDF parser plugin that needs to open a connection to an external RDF engine and I need to do that only one time and then close that connection when all documents are parsed.

Thanks,
    Erik






-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to