On Tue, 24 Sep 2013 04:13:27 -0300, Martin Kersten <martin.kersten...@gmail.com> wrote:

Thats it. Simple straight forward and does the job. And I only use it for
some spare situations where I have to or just dont know what the given implementation will look like since I will have processing tasks that do not use the database at all etc. So I dont care for if(task
instanceof foo) anymore and I have optional before and after methods.

Invoker.on(myTask).callAnyMethod().annotatedWith(Setup.class).invokeIfExists();

And yes this method calls really any method, not just the first found.

Nice! Any plans of opensourcing it? I'm curious to take a look.

PS: @Thiago Pesti comes from pest and marks something as being sort of a
distraction or an annoyance.

Same as in Brazilian Portuguese ("peste"). :)

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to