1 22 package org.jboss.test.aop.jdk15.annotated; 23 24 import java.util.ArrayList ; 25 26 31 public class Interceptions 32 { 33 static ArrayList intercepted = new ArrayList (); 34 35 public static void add(String name) 36 { 37 System.out.println("Adding (a) " + name); 38 intercepted.add(name); 39 } 40 41 public static ArrayList getIntercepted() 42 { 43 return intercepted; 44 } 45 46 public static void reset() 47 { 48 intercepted = new ArrayList (); 49 } 50 } 51 | Popular Tags |