Hi Thiago,

Ok, so as the 3rd party library's Service isn't implemented receiving some
Configuration, then I can't Contribute to it... and the only way would be to
override the service as a whole (reinstantiating it and setting it up all).
:(

would it smell a lot if I ask tapestry for the instance of that service in
some "startup" point of my AppModule and set that property to my required
value?

I 'm just trying not to reimplement the instantiation code of that service.

thanks again,

Nicolás.-


On Tue, Jan 25, 2011 at 10:26 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Tue, 25 Jan 2011 11:24:00 -0200, Nicolas Barrera <nbarr...@gmail.com>
> wrote:
>
>  Concisely what I want is to get a Service from a 3rd party module and
>> change one of it's properties, any ideas on the simplest way to do it
>> without
>> instantiating the whole object again?
>>
>
> Tapestry-IoC doesn't provide any way of setting a service implementation
> property. It does provide a way for you to override services'
> configurations.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to