java Programming Glossary: logexectime
Java Aspect-Oriented Programming with Annotations http://stackoverflow.com/questions/4829088/java-aspect-oriented-programming-with-annotations to log the time taken by some annoted methods using a @LogExecTime annotation. I first create an annotation LogExecTime @Retention.. a @LogExecTime annotation. I first create an annotation LogExecTime @Retention RetentionPolicy.RUNTIME @Target ElementType.METHOD.. @Target ElementType.METHOD public @interface LogExecTime Then I define an aspect @Component For Spring AOP @Aspect public..
|