Neeme Praks <[EMAIL PROTECTED]> wrote:
> I have a Texen based Velocity tool for generating websites that uses a 
> certain object model for building a website. Now I need to migrate the 
> templates to a new object model (similar, but not 100% the same) and, to 
> make things easier, I figured it would be useful if Velocity would have 
> a feature to track all non-velocity "template -> object model" 
> interactions while generating a website.
> 
> The best would be to log the following info about each method invocation 
> (including getters and setters):
> * FQCN of the object on which the method was invoked
> * method name
> * method signature
> * template name&path
> * line and column information about the location of the invocation 
> instruction inside the template
> 
> I guess there is no such feature available currently? If I would try to 
> implement it, maybe you guys have some helpful hints where to start?

While I've never used it, from what I've read, this sounds like an ideal 
task for AspectJ.

http://eclipse.org/aspectj/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to