decorate != advise You'll need to read the docs here http://tapestry.apache.org/tapestry-ioc-decorators.html On 18 May 2013 15:02, "Boris Horvat" <horvat.z.bo...@gmail.com> wrote:
> Hm...strange this method of mine is not invoked, any idea as to why? > > > On Sat, May 18, 2013 at 3:57 PM, Boris Horvat <horvat.z.bo...@gmail.com > >wrote: > > > I dont suppose that will be as simple as > > > > > > @Match("*") > > public static <T> T decorateLogging(Class<T> serviceInterface, T > delegate, > > String serviceId, Logger logger, > > LoggingDecorator decorator) > > { > > return decorator.build(serviceInterface, delegate, serviceId, > logger); > > } > > > > > > > > Well I tried this and it doesnt work. Do I have to provide my own > implementation for the LoggerDecorator interface? > > > > > > > > On Sat, May 18, 2013 at 3:11 PM, Thiago H de Paula Figueiredo < > > thiag...@gmail.com> wrote: > > > >> On Fri, 17 May 2013 16:02:32 -0300, Boris Horvat < > >> horvat.z.bo...@gmail.com> wrote: > >> > >> Hi all, > >>> > >> > >> Hi! > >> > >> > >> Any ideas if I can make this work without creating an interface? > >>> > >> > >> Try decoration instead. Advice needs proxies, and proxies are only > >> created for interface-based services. > >> > >> -- > >> Thiago H. de Paula Figueiredo > >> > >> > ------------------------------**------------------------------**--------- > >> To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< > users-unsubscr...@tapestry.apache.org> > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > > > > -- > > Sincerely > > *Boris Horvat* > > > > > > -- > Sincerely > *Boris Horvat* >