1 22 package org.jboss.test.aop.beanstyleconfig; 23 24 import org.jboss.aop.Advisor; 25 import org.jboss.aop.InstanceAdvisor; 26 import org.jboss.aop.joinpoint.Joinpoint; 27 28 import java.util.ArrayList ; 29 30 34 public class InvokedConfigs 35 { 36 static ArrayList invokedConfs = new ArrayList (); 37 38 public static void clearData() 39 { 40 invokedConfs = new ArrayList (); 41 } 42 43 public static ArrayList getInvokedConfigs() 44 { 45 return invokedConfs; 46 } 47 48 public static void addInvokedConfig(String name, Advisor advisor, 49 InstanceAdvisor instanceAdvisor, Joinpoint joinpoint, int intAttr, 50 String stringAttr) 51 { 52 InvokedConfig invokedConfig = new InvokedConfig(name, advisor, instanceAdvisor, joinpoint, intAttr, stringAttr); 53 invokedConfs.add(invokedConfig); 54 } 55 } 56 | Popular Tags |