You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Konstantin Priblouda <kp...@yahoo.com> on 2004/08/06 12:11:43 UTC

[repost, correct subject] What about constructable directories for use in IoC environment

Hi all, 

I noticed that lucene directories can be created
only
via static factory method. 

This is kind of uncool if you live  IoC environment
(picocontainer). I looked into source, and see that
there is some black magic to ensure "one directory
per
given path" with caching etc. 

Of course I can write component adapter for pico,
but this is kind of uncool and will introduce
explicit
dependency to pico, which is uncool... 

Alternatively I can write a constructable class
which
delegates to directory obtained from factory, but
this
is also uncool... 

What are options? 

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programmieren, Kenntnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------


		
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org