Jun
3
只要把spring中的一个bean,如下:
然后再在spring相关配置文件中加入如下配置:
另外,官方版本只支持spring启动方式为:
<bean name="simpleService" class="net.buffalo.demo.simple.SimpleService"></bean>
然后再在spring相关配置文件中加入如下配置:
<bean name="buffaloConfigBean" class="net.buffalo.service.BuffaloServiceConfigurer">
<property name="services">
<map>
<entry key="springSimpleService">
<ref bean="simpleService"/>
</entry>
</map>
</property>
</bean>
<property name="services">
<map>
<entry key="springSimpleService">
<ref bean="simpleService"/>
</entry>
</map>
</property>
</bean>
另外,官方版本只支持spring启动方式为:
org.springframework.web.context.ContextLoaderServlet
ManFred
2008/07/29 14:34
如何在注入的用户bean中管理session呢?
Michael Chen
2008/07/27 10:26
...其他的方式也是可以的,只要保证在上下文中Spring可用
chirs 回复于 2008/07/27 11:30
其他方式能举例一下吗?
分页: 1/1
1
1
如何自定义事件
buffalo使用问题集锦


