You do not need to implement any special interface any object will do. -- Sami Siren
Enrico Triolo wrote: > I'm trying to fix this bug, so I looked at some source code to see how > other objects are cached in the configuration. > I see for example in CommonGrams.java that an Hashtable is put into > the configuration using the setObject() method. Could I use the same > method? Can I put arbitrary objects in the configuration or must they > implement/extend some interface/class (maybe Serializable?). > > Enrico > > On 6/28/06, Enrico Triolo <[EMAIL PROTECTED]> wrote: > >> Sure! >> >> On 6/28/06, Jérôme Charron <[EMAIL PROTECTED]> wrote: >> > It seems to be a side effect of NUTCH-169 (remove static NutchConf). >> > Prior to this, the language identifier was a singleton. >> > I think we should cache its instance in the conf as we do for many >> others >> > objects >> > in Nutch. >> > Enrico, could you please create a JIRA issue. >> > >> > Thanks >> > >> > Jérôme >> > >> > -- >> > http://motrech.free.fr/ >> > http://www.frutch.org/ >> > >> > >> > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nutch-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-developers
