1 22 package org.jboss.test.aop.jdk15; 23 24 28 @trace @traceable public class AnnotatedPOJO 29 { 30 @trace public int field; 31 public int nontraceable; 32 33 @trace public AnnotatedPOJO() 34 { 35 } 36 37 public AnnotatedPOJO(String s) 38 { 39 System.out.println("POJO Constructor: " + s); 40 } 41 42 @trace public void someMethod() 43 { 44 System.out.println("POJO.someMethod"); 45 } 46 47 public void nontraceableMethod() 48 { 49 System.out.println("POJO.anotherMethod"); 50 } 51 52 } 53 54 | Popular Tags |