Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <blueprint default-activation="eager"
- xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0" xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0"
- xsi:schemaLocation="
- http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0
- http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance
- http://aries.apache.org/xmlns/jpa/v1.0.0 http://aries.apache.org/xmlns/jpa/v1.0.0
- http://aries.apache.org/xmlns/transactions/v1.0.0 http://aries.apache.org/xmlns/transactions/v1.0.0 ">
- <bean id="crudDAO"
- class="com.example.CrudDAOImpl">
- <jpa:context unitname="my-unit" property="entityManager" />
- <tx:transaction method="*" value="Required" />
- </bean>
- <service ref="crudDAO"
- interface="com.example.CrudDAO" />
- </blueprint>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement