It took me some time to get rid of the "tapestry Construction of service 'ServiceOverride' has failed due to recursion" error at startup but the following lines added to the AppModule work
public static void bind(ServiceBinder binder) { binder.bind(ClientDataEncoder.class, HMACClientDataEncoder.class). withId("HMACClientDataEncoder"); } public static void contributeServiceOverride( MappedConfiguration<Class<?>,Object> configuration, @Local ClientDataEncoder override) { configuration.add(ClientDataEncoder.class, override); } HMACClientDataEncoder is the new implementation of ClientDataEncoder Kind regards, Martijn Brinkers On 06/21/2011 08:32 AM, martijn.list wrote: > I would like to use my own implementation of ClientDataEncoder. Is it > possible to replace the existing ClientDataEncoder with my own > implementation? > > Kind regards, > > Martijn Brinkers -- Djigzo open source email encryption --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org