On Fri, 31 Jan 2014 16:29:28 -0200, Dimitris Zenios <dimitris.zen...@gmail.com> wrote:

Create the assetSource inside bind method
then inject it inside the contributeSerrviceOverride and instead of
addInstance use plain add

Or just decorate the service instead of overriding it. The result is the same, but you avoid the service recursion problems:

public static void decorateAssetSource(AssetSource originalAssetSource, ObjectLocator locator) {
        return locator.autobuild(MyAssetSourceImpl.class);
}

Or use service advice instead of overriding or decorating it.

What exactly do you want to do, Garz?

--
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