Hi

I want to know if this is possible using Xdoclet templates / tags etc . If
yes , how


Input code - 

/**
        @logged
*/
public void someMethod() {
        // Method body 
}



Generated code -

public void someMethod() {
        logger.debug("Method begins...");
        // Method body 
        logger.debug(".. Method ends");
}


So any method which is tagged as @logged , gets the two logger statements
before and after the method body. Assume that logger is a Class variable.

-Thanks

Akif


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to