You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Rural Hunter <ru...@gmail.com> on 2015/11/26 02:10:18 UTC

How to override a service by service id?

I have a service having several implementations with different service ids.
I want to override one of them by its id. I looked around and seems only
service decoration can do it. Is there any other better or recommended way
to do this?

Re: How to override a service by service id?

Posted by Rural Hunter <ru...@gmail.com>.
of coz I have read that doc and it doesn't answer my question. thanks any
way.

2015-11-26 14:19 GMT+08:00 Sven Homburg <ho...@gmail.com>:

> Hi rural,
>
> have a look at this page
> http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html
>
> hope it helps
>
> 2015-11-26 2:10 GMT+01:00 Rural Hunter <ru...@gmail.com>:
>
> > I have a service having several implementations with different service
> ids.
> > I want to override one of them by its id. I looked around and seems only
> > service decoration can do it. Is there any other better or recommended
> way
> > to do this?
> >
>

Re: How to override a service by service id?

Posted by Sven Homburg <ho...@gmail.com>.
Hi rural,

have a look at this page
http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html

hope it helps

2015-11-26 2:10 GMT+01:00 Rural Hunter <ru...@gmail.com>:

> I have a service having several implementations with different service ids.
> I want to override one of them by its id. I looked around and seems only
> service decoration can do it. Is there any other better or recommended way
> to do this?
>