<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
<aop:aspectj-autoproxy proxy-target-class="true"/>
<context:component-scan base-package="com.bean.service.impl"/>
<!--
<bean id="personDao" class="com.bean.service.impl.PersonDao"/>
<bean id="person" class="com.bean.service.impl.Person" lazy-init="true" init-method="init" destroy-method="destory" autowire="byName">
<constructor-arg index="0" type="com.bean.service.impl.PersonDao" ref="personDao"/>
<constructor-arg index="1" type="java.lang.String" value="Shiki"/>
<property name="id" value="1"></property>
<property name="name" value="Shiki"></property>
<property name="set">
<set>
<value>第一个</value>
<value>第二个</value>
<value>第三个</value>
</set>
</property>
<property name="list">
<list>
<value>第一个list元素</value>
<value>第二个list元素</value>
<value>第三个list元素</value>
</list>
</property>
<property name="prop">
<props>
<prop key="key1">value1</prop>
<prop key="key2">value2</prop>
<prop key="key3">value3</prop>
</props>
</property>
<property name="map">
<map>
<entry key="key-1" value="value-1"/>
<entry key="key-2" value="value-2"/>
<entry key="key-3" value="value-3"/>
</map>
</property>
</bean>
-->
<!-- 静态工厂 -->
<!--
<bean id="personService2" class="com.bean.service.impl.PersonStaticFactory" factory-method="staticCreatePerson"/>
-->
<!-- 实例工厂 -->
<!--
<bean id="personFactory" class="com.bean.service.impl.PersonStaticFactory"/>
<bean id="personService3" factory-bean="personFactory" factory-method="createPerson" />
<bean id="dog1" name="dog2,dog3" class="com.zk.Dog"/>
<alias name="dog2" alias="dog4"/>
--><!-- 别名 -->
<bean id="annotation" class="com.aop.MyInterceptor_Annotation"></bean>
<bean id="personServiceBean" class="com.aop.PersonServiceBean"></bean>
<!--
<bean id="aspectBean" class="com.aop.MyInterceptor_XML"></bean>
<aop:config>
<aop:aspect id="myaop" ref="aspectBean">
<aop:pointcut id="mycut" expression="execution(* com.aop..*.*(..))"/>
<aop:before pointcut-ref="mycut" method="doAccessCheck"/>
<aop:after-returning pointcut-ref="mycut" method="doAfterReturning"/>
<aop:after pointcut-ref="mycut" method="doAfter"/>
<aop:after-throwing pointcut-ref="mycut" method="doAfterThrowing"/>
<aop:around pointcut-ref="mycut" method="doBasicProfiling"/>
</aop:aspect>
</aop:config>
</bean>
-->
</beans>
ssh2的整合jar包
5星 · 超过95%的资源 需积分: 9 14 浏览量
2012-09-13
16:37:13
上传
评论
收藏 22.19MB RAR 举报
wuyounanhai123
- 粉丝: 0
- 资源: 8
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈