Hi,
I want to override a service, lets say SomeService, with my own
implementation, lets say SomeServiceMyImpl.
In my module class I do it like this:
...
public static void bind(ServiceBinder binder)
{
binder.bind(SomeService.class,
SomeServiceMyImpl.class).withId("SomeServiceMyImpl");
}
public static void contributeServiceOverride (
MappedConfiguration<Class, Object> configuration,
@InjectService ("SomeServiceMyImpl") SomeService someServiceMyImpl)
{
configuration.add(SomeService.class, someServiceMyImpl);
}
...
The problem is that contributions for SomeService (in the format of
contributeSomeService(...)) are not gathered and injected into constructor
of SomeServiceMyImpl.
Does anybody know how to achieve this?
Thanks
Keio Kraaner
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org