--- Akif Shaikh <[EMAIL PROTECTED]> wrote:
> 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. This is not possible because xjavadoc does not retrieve method body. Depending on your environment there are better ways to achieve this. regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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