1 16 17 package org.springframework.aop.framework.autoproxy.metadata; 18 19 import java.io.IOException ; 20 21 import org.springframework.beans.factory.BeanFactory; 22 import org.springframework.context.support.ClassPathXmlApplicationContext; 23 import org.springframework.metadata.commons.CommonsAttributeCompilerUtils; 24 25 35 public class CommonsAttributesMetadataAutoProxyTests extends AbstractMetadataAutoProxyTests { 36 37 static { 38 CommonsAttributeCompilerUtils.compileAttributesIfNecessary("**/autoproxy/metadata/*.java"); 40 } 41 42 protected BeanFactory getBeanFactory() throws IOException { 43 return new ClassPathXmlApplicationContext( 45 new String [] { 46 "/org/springframework/aop/framework/autoproxy/metadata/commonsAttributes.xml", 47 "/org/springframework/aop/framework/autoproxy/metadata/enterpriseServices.xml"}); 48 } 49 50 } 51 | Popular Tags |