Agenda Dodavatelé - adresář
This commit is contained in:
@@ -88,7 +88,13 @@
|
||||
<property name="sessionFactory" ref="sessionFactory"/>
|
||||
</bean>
|
||||
|
||||
<bean id="addressDao" class="info.bukova.isspst.dao.jpa.AddressDaoJPA">
|
||||
<property name="sessionFactory" ref="sessionFactory"/>
|
||||
</bean>
|
||||
|
||||
<!-- Business logic -->
|
||||
<bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean"/>
|
||||
|
||||
<bean id="userService" class="info.bukova.isspst.services.users.UserServiceImpl">
|
||||
<property name="dao" ref="userDao"/>
|
||||
<property name="encoder" ref="passwordEncoder"/>
|
||||
@@ -97,5 +103,31 @@
|
||||
<bean id="roleService" class="info.bukova.isspst.services.users.RoleServiceImpl">
|
||||
<property name="dao" ref="roleDao"/>
|
||||
</bean>
|
||||
|
||||
<bean id="adbService" class="info.bukova.isspst.services.addressbook.AdbServiceImpl">
|
||||
<property name="dao" ref="addressDao"/>
|
||||
<property name="validator" ref="validator"/>
|
||||
</bean>
|
||||
|
||||
<bean id="addressFinderAres" class="info.bukova.isspst.services.addressbook.AddressFinderAres">
|
||||
<property name="aresUrl" value="http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_std.cgi"/>
|
||||
<property name="unmarsheller" ref="unmarshallerAres"/>
|
||||
</bean>
|
||||
|
||||
<bean id="addressFinderTaxID" class="info.bukova.isspst.services.addressbook.AddressFinderTaxID">
|
||||
<property name="aresDicUrl" value="http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_bas.cgi"/>
|
||||
</bean>
|
||||
|
||||
<bean id="xmlCtxAres" class="org.castor.spring.xml.XMLContextFactoryBean">
|
||||
<property name="mappingLocations">
|
||||
<list>
|
||||
<value>info/bukova/isspst/services/addressbook/mappingAres.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="unmarshallerAres" class="org.castor.spring.xml.CastorUnmarshallerFactoryBean">
|
||||
<property name="xmlContext" ref="xmlCtxAres"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
||||
Reference in New Issue
Block a user