Am 08.01.2006 um 16:08 schrieb Stefan Groschupf:

Marko,
as mentioned...
All these classes will implement the NutchConfigurable interface. The plugin system will instantiate these objects and inject the nutch configuration object *BEFORE* it will return the object instance to the caller object. So we can be sure that setConf is called before any e.g. parse method is called.

Thats right.

So the answer is the fields will be setted / intialized in the setConf method that need to be implemented by each extension class and we have the agreement that this method is called directly after the constructor but before any other call.
Does that clarify my suggestion?

Yes. I thought that the call of the method setConf only set the NutchConf. This is a philosophical question. All right, the implementation class can also load/set the fields.

Thanks, Marko

Reply via email to