1 25 26 package org.objectweb.easybeans.tests.enhancer.interceptors.lifecycle; 27 28 import java.util.ArrayList ; 29 import java.util.List ; 30 31 import org.objectweb.easybeans.tests.common.enhancer.ClassesEnhancer; 32 33 34 38 public final class LifeCycleInterceptorsClassesEnhancer { 39 40 43 private LifeCycleInterceptorsClassesEnhancer() { 44 45 } 46 47 51 public static void enhance() throws Exception { 52 String packageName = "org.objectweb.easybeans.tests.enhancer.interceptors.lifecycle.bean.".replace(".", "/"); 53 String suffixClass = ".class"; 54 55 List <String > list = new ArrayList <String >(); 56 list.add(packageName + "MyLifeCycleInterceptorStateful" + suffixClass); 57 list.add(packageName + "MyLifeCycleInterceptorStateless" + suffixClass); 58 list.add(packageName + "SessionBeanItf" + suffixClass); 59 list.add(packageName + "AbsSessionBean" + suffixClass); 60 list.add(packageName + "StatefulBean" + suffixClass); 61 list.add(packageName + "StatelessBean" + suffixClass); 62 list.add(packageName + "StatelessBean2" + suffixClass); 63 list.add(packageName + "StatelessBean3" + suffixClass); 64 65 ClassesEnhancer.enhance(list, ClassesEnhancer.TYPE.INTERCEPTOR); 66 } 67 68 } 69 | Popular Tags |