Hum.
I thought something more automatic like a file, maybe tamaya.files, that
has path of this files. This file will stay in root of project.
Like the ehcache configuration does.


On Fri, Dec 19, 2014 at 4:40 AM, Anatole Tresch <[email protected]> wrote:
>
> Hi,
> Currently IMO this only works by adding your file to a config provider and
> then performing injection using the configure method. I think i will add an
> additional configure method that takes a config as an argument. So you can
> do:
>
> Configuration cfg =
> ConfigBuilder.of().addPaths("file:file.properties").build();
> MyObject o. = ...;
> Confuguration.configure(o, cfg);
>
> Cheers
> Anatole
>
>
> Otávio Gonçalves de Santana <[email protected]> schrieb am
> Fr., 19. Dez. 2014 um 01:18:
>
> Hi Anatole.
>> How is going?
>> One question: in tamaya how can I configure file.properties and inject in
>> my fields?
>> I dont find any example, did is there  implemented?
>>
>>
>> --
>> Otávio Gonçalves de Santana
>>
>> blog:     http://otaviosantana.blogspot.com.br/
>> twitter: http://twitter.com/otaviojava
>> site:     *http://about.me/otaviojava <http://about.me/otaviojava>*
>> 55 (11) 98255-3513
>>
>>

-- 
Otávio Gonçalves de Santana

blog:     http://otaviosantana.blogspot.com.br/
twitter: http://twitter.com/otaviojava
site:     *http://about.me/otaviojava <http://about.me/otaviojava>*
55 (11) 98255-3513

Reply via email to