There's documentation for that: http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html

On Sat, 03 Jan 2015 13:38:18 -0200, Dimitris Zenios <dimitris.zen...@gmail.com> wrote:

This is the way i do it and it works

@Contribute(ServiceOverride.class)
public static void
setupApplicationServiceOverrides(MappedConfiguration<Class,Object>
configuration,@Local WebSecurityManager customAuthenticator)
{
configuration.add(WebSecurityManager.class, customAuthenticator);
}

On Sat, Jan 3, 2015 at 1:02 PM, Aleksandar Nikolov <m...@anikolov.com>
wrote:

Hi,

Does anybody know how to override a service in Tapestry 5.3.8?

I don't want to use the back door - copy&paste&change the original source in the original location and thus force the webserver to use the modified
class rather than the original one.

--
Best regards,
Aleksandar



--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.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