1 22 package org.jboss.test.aop.scope; 23 24 import java.util.ArrayList ; 25 26 31 public class Interceptions 32 { 33 static ArrayList interceptions = new ArrayList (); 34 35 public static ArrayList getInterceptions() 36 { 37 return interceptions; 38 } 39 40 public static void clear() 41 { 42 interceptions.clear(); 43 } 44 45 public static void add(Object o) 46 { 47 interceptions.add(o); 48 } 49 50 public static int size() 51 { 52 return interceptions.size(); 53 } 54 55 public static Object get(int i) 56 { 57 return interceptions.get(i); 58 } 59 } 60 | Popular Tags |