You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jun Tsai <ju...@gmail.com> on 2007/05/21 08:59:54 UTC

How to override a service in T5?

In hivemind,I use implement to override an service .

How to override a service in T5?


-- 
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to override a service in T5?

Posted by Howard Lewis Ship <hl...@gmail.com>.
You supply a new implementation with a new id, and contribute to the Alias
service configuration.  This will allow injections based on type to prefer
your implementation over the built-in one.

On 5/20/07, Jun Tsai <ju...@gmail.com> wrote:
>
> In hivemind,I use implement to override an service .
>
> How to override a service in T5?
>
>
> --
> Welcome to China Java Users Group(CNJUG).
> http://cnjug.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com