• 大小: 2.19MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-10
  • 语言: Java
  • 标签: 实例工厂  

资源简介

JavaEE spring实例工厂的实例方式

资源截图

代码片段和文件信息

package com.hello.factory;

import com.hello.service.UserService;
import com.hello.service.UserServiceImpl;

public class MyBeanFactory {
public UserService createUserService(){
return new UserServiceImpl();
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-10-14 10:02  Day01_MyBeanFactory\
     文件         607  2016-10-14 10:10  Day01_MyBeanFactory\.classpath
     目录           0  2016-10-14 10:37  Day01_MyBeanFactory\.myeclipse\
     文件         330  2016-10-14 10:37  Day01_MyBeanFactory\.mymetadata
     文件        1546  2016-10-14 10:37  Day01_MyBeanFactory\.project
     目录           0  2016-10-14 10:02  Day01_MyBeanFactory\.settings\
     文件         500  2016-10-14 10:02  Day01_MyBeanFactory\.settings\.jsdtscope
     文件         395  2016-10-14 10:02  Day01_MyBeanFactory\.settings\org.eclipse.jdt.core.prefs
     文件         495  2016-10-14 10:37  Day01_MyBeanFactory\.settings\org.eclipse.wst.common.component
     文件         252  2016-10-14 10:02  Day01_MyBeanFactory\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2016-10-14 10:02  Day01_MyBeanFactory\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2016-10-14 10:02  Day01_MyBeanFactory\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2016-10-14 10:02  Day01_MyBeanFactory\WebRoot\
     目录           0  2016-10-14 10:02  Day01_MyBeanFactory\WebRoot\meta-INF\
     文件          36  2016-10-14 10:02  Day01_MyBeanFactory\WebRoot\meta-INF\MANIFEST.MF
     目录           0  2016-10-14 10:02  Day01_MyBeanFactory\WebRoot\WEB-INF\
     目录           0  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\
     目录           0  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\
     目录           0  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\
     目录           0  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\factory\
     文件         464  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\factory\MyBeanFactory.class
     目录           0  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\service\
     文件         145  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\service\UserService.class
     文件         593  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\service\UserServiceImpl.class
     文件         495  2016-10-14 10:32  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\service\applicationContext.xml
     目录           0  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\test\
     文件        1250  2016-10-14 10:37  Day01_MyBeanFactory\WebRoot\WEB-INF\classes\com\hello\test\TestStaticFactory.class
     目录           0  2016-10-14 10:03  Day01_MyBeanFactory\WebRoot\WEB-INF\lib\
     文件       61464  2016-10-14 10:03  Day01_MyBeanFactory\WebRoot\WEB-INF\lib\com.springsource.org.apache.commons.logging-1.1.1.jar
     文件      604742  2016-10-14 10:02  Day01_MyBeanFactory\WebRoot\WEB-INF\lib\spring-beans-3.2.0.RELEASE.jar
     文件      854027  2016-10-14 10:02  Day01_MyBeanFactory\WebRoot\WEB-INF\lib\spring-context-3.2.0.RELEASE.jar
............此处省略15个文件信息

评论

共有 条评论

相关资源