rest api for label and hibernate mapping

This commit is contained in:
Ezequiel Bergamaschi
2014-01-25 23:21:17 -03:00
committed by Ezequiel Bergamaschi
parent 504e3e18e6
commit 1b480b566a
13 changed files with 305 additions and 0 deletions

View File

@@ -55,6 +55,23 @@
<property name="target" ref="mindMapServiceTarget"/>
</bean>
<bean id="labelServiceTarget" class="com.wisemapping.service.LabelServiceImpl">
<property name="labelManager" ref="labelManager"/>
</bean>
<bean id="labelService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager" ref="transactionManager"/>
<property name="target">
<ref local="labelServiceTarget"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="${mail.smtp.host}"/>
<property name="port" value="${mail.smtp.port}"/>