aoptest.java

来自「基于struts/hibernate/spring 的在线拍卖系统」· Java 代码 · 共 18 行

JAVA
18
字号
package y2ssh.zhangcuishan.aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import y2ssh.zhangcuishan.biz.GoodsBiz;

public class AopTest {
	public static void main(String[] args) {
		      ApplicationContext ctx = 
		          new FileSystemXmlApplicationContext("classpath:applicationContext.xml");
		      
		      GoodsBiz goodsBiz = (GoodsBiz)ctx.getBean("goodsBiz");
		      goodsBiz.getMyGoodsList(15L);
		 }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?