Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <blueprint default-activation="eager"
  3.     xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.     xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0" xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0"
  5.  
  6.     xsi:schemaLocation="
  7.             http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0
  8.             http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance
  9.             http://aries.apache.org/xmlns/jpa/v1.0.0 http://aries.apache.org/xmlns/jpa/v1.0.0
  10.             http://aries.apache.org/xmlns/transactions/v1.0.0 http://aries.apache.org/xmlns/transactions/v1.0.0 ">
  11.  
  12.     <bean id="crudDAO"
  13.         class="com.example.CrudDAOImpl">
  14.         <jpa:context unitname="my-unit" property="entityManager" />
  15.         <tx:transaction method="*" value="Required" />
  16.     </bean>
  17.  
  18.     <service ref="crudDAO"
  19.         interface="com.example.CrudDAO" />
  20.  
  21. </blueprint>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement