public static void main(String[] args) {
FileSystemXmlApplicationContext applicationContext=new FileSystemXmlApplicationContext("classpath:applicationContext.xml");
// MemcachedCache cache=(MemcachedCache) applicationContext.getBean("memClient");
// IMemcachedCache cc=cache.getCache();
//cache.put("1111", object)''
// System.out.println(cache.get("emp1"));
AService a=(AService) applicationContext.getBean("aimpl");
// AService B=(AService) applicationContext.getBean("bimpl");
System.out.println((String)a.testaop("test2"));
// B.before();
// System.out.println(emp.getCompanyName());
}
Main.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:spring_mem_plugin
作者:
评论列表
文章目录