On Fri, 01 Mar 2013 01:30:38 -0300, Alex Kotchnev <akoch...@gmail.com> wrote:

Thiago - I can probably try going the decoration route, although it feels a little bit "not right" -conceptually I want to 'override' the original
implementation.

It may not feel 100% right, but a decorator is still a different implementation of something anyway.

If I try to decorate the service, do I still have to build
it as a service (e.g. using a service builder method) , or can I
instantiate it as I had shown above (inside of the decorator method)

You need to declare the service to be decorated in some way (binder.bind() or builder method), but the service override/decorator instance itself can be constructed in any way you want, even instantiating it directly in the decorate method.

--
Thiago H. de Paula Figueiredo

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

Reply via email to