You can use reflection to instantiate the correct object (specify the class
name on the parameter on the solrconfig and then invoke the constructor via
reflection). You'll have to manage the life-cycle of your object yourself.
If I understand your requirement, you probably have created a
SearchComponent that uses that "retriever", right?

On Mon, Aug 29, 2011 at 1:30 PM, Federico Fissore <fiss...@celi.it> wrote:

> Tomás Fernández Löbbe, il 29/08/2011 17:58, ha scritto:
>
>  mmmm I think I get it. Many of the objects that depend on the
>> configuration
>> are instantiated by using reflection, is that an option for you?
>>
>>
> yes it is
> what do you propose?
>

Reply via email to