8 Replies Latest reply on Aug 3, 2009 1:18 PM by 843793

    simple example of a custom annotation    for log

      Please help me write me my custom annotations. I like to use them to provide log ,security etc . I did not find articles where I can write my annotation to change the behaviour. Suppoe I decare annotation on a method , I want jvm to call code in my annotation where I can control the behaviour of the method similar to aop stuff ,
      here is what i need
      MyClass {
         void myMethod(){
      now I want MyCustomAnnotation to log that this method is begin called can I do this ?