Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context"
- xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:batch="http://www.springframework.org/schema/batch"
- xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
- http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
- http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
- http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
- http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
- http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.0.xsd
- ">
- <!--ObjectifyのEntityを読み込む -->
- <bean id="objectifyManager" class="ex.objectify.spring.ObjectifyManager">
- <property name="basePackage" value="gso.model" />
- </bean>
- <!-- Objectifyインスタンスを管理する -->
- <bean id="objectifyFactory" class="ex.objectify.spring.ObjectifyFactoryBean">
- <property name="manager" ref="objectifyManager" />
- </bean>
- <!-- ObjectifyとSpringの宣言的Transaction機能を連携させる -->
- <bean id="transactionManager" class="ex.objectify.spring.ObjectifyTransactionManager">
- <property name="manager" ref="objectifyManager" />
- </bean>
- <!-- アノテーションによるトランザクションを有効にする -->
- <tx:annotation-driven />
- </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement