On 26.03.2015, at 23:06, Marshall Schor <[email protected]> wrote:
> 
> On 3/25/2015 10:34 AM, Richard Eckart de Castilho wrote:
>> Thanks for the explanation. With this change, however, it is not possible 
>> anymore
>> to create a customized RootUimaContext with a custom resource manager.
>> 
>> Admittedly, my case (which I didn't explain yet) is a freak case and should 
>> probably
>> also be fixed elsewhere... my workaround now is to create an anonymous 
>> instance
>> in which I override getResourceManager()...
>> 
>> Yet, I would still propose to introduce a constructor which allows to create
>> instances of this class based on pre-existing resource / configuration 
>> managers.
> 
> Ok, can you propose a change that will work for you and still keep these 
> fields
> "final"?

I'm sure you had a very good reason for passing these values as thread-locals 
to a
0-args constructor. Would you object to introducing an additional 2-args 
constructor?

Cheers,

-- Richard

Reply via email to