1 22 package org.jboss.test.aop.callerscope; 23 24 import org.jboss.aop.instrument.Untransformable; 25 26 32 public class POJO implements Untransformable 33 { 34 public POJO() 35 { 36 System.out.println("*** PER_VM advised POJO constructor"); 37 } 38 39 public POJO(int i) 40 { 41 System.out.println("*** PER_CLASS advised POJO constructor"); 42 } 43 44 public POJO(boolean b) 45 { 46 System.out.println("*** PER_CLASS_JOINPOINT advised POJO constructor"); 47 } 48 49 public void perVmMethod() 50 { 51 System.out.println("*** PER_VM POJO method"); 52 } 53 54 public void perClassMethod() 55 { 56 System.out.println("*** PER_CLASS POJO method"); 57 } 58 59 public void perInstanceMethod() 60 { 61 System.out.println("*** PER_INSTANCE POJO method"); 62 } 63 64 public void perJoinpointMethod() 65 { 66 System.out.println("*** PER_JOINPOINT POJO method"); 67 } 68 69 public void perClassJoinpointMethod() 70 { 71 System.out.println("*** PER_CLASS_JOINPOINT POJO method"); 72 } 73 74 75 } 76 | Popular Tags |