You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
3.1 KiB

<beans
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://jax-ws.dev.java.net/spring/core http://jax-ws.java.net/spring/core.xsd
http://jax-ws.dev.java.net/spring/servlet http://jax-ws.java.net/spring/servlet.xsd"
xmlns="http://www.springframework.org/schema/beans"
xmlns:ws="http://jax-ws.dev.java.net/spring/core"
xmlns:wss="http://jax-ws.dev.java.net/spring/servlet"
>
<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor" />
<bean id="defaultLogger" class="pt.evolute.logger.InitDefaultLogger" destroy-method="clean" scope="singleton" />
<bean id="defaultProvider" class="pt.evolute.data.ProviderSpringBean" init-method="init" destroy-method="clean" scope="singleton" depends-on="defaultLogger" />
<bean id="siprpProvider" class="pt.evolute.data.ProviderSpringBean" init-method="init" destroy-method="clean" scope="singleton" depends-on="defaultLogger" >
<property name="prefix"><value>siprp</value></property>
</bean>
<bean id="siprpDocsProvider" class="pt.evolute.data.ProviderSpringBean" init-method="init" destroy-method="clean" scope="singleton" depends-on="defaultLogger" >
<property name="prefix"><value>siprpdocs</value></property>
</bean>
<bean id="siprpMailSender" class="pt.evolute.MailSenderSpringBean" scope="singleton" >
<property name="host"><value>smtp.siprp.pt</value></property>
<property name="port"><value>587</value></property>
<property name="secure"><value>false</value></property>
<property name="username"><value>servico@siprp.pt</value></property>
<property name="password"><value>GR33%df5</value></property>
<property name="defaultFROM"><value>fichas.online@siprp.pt</value></property>
<property name="defaultTO"><value>fichas.online@siprp.pt</value></property>
</bean>
<bean id="updaterBean" class="pt.evolute.data.UpdaterBean" scope="singleton" depends-on="defaultProvider" />
<bean id="evoAutenticationProvider" class="pt.evolute.security.EvoAutenticationProvider" scope="singleton" />
<bean id="fichasProvider" class="shst.medicina.fichasclinicas.provider.FichasClinicasDataProvider" />
<bean id="fichasLogic" class="shst.medicina.fichasclinicas.logic.FichasClinicasLogic" scope="singleton" />
<bean id="documentosProvider" class="shst.medicina.fichasclinicas.provider.DocumentosDataProvider" scope="singleton" />
<bean id="documentosLogic" class="shst.medicina.fichasclinicas.logic.DocumentosLogic" scope="singleton" />
<!-- Endpoint dos WS SOAP XML -->
<bean id="fichasJAXWS" class="shst.medicina.fichasclinicas.webservices.jaxws.FichasClinicasImpl" scope="singleton" depends-on="defaultProvider,siprpProvider" />
<wss:binding url="/ws">
<wss:service >
<ws:service bean="#fichasJAXWS" />
</wss:service>
</wss:binding>
<!-- /Endpoint dos WS SOAP XML -->
<bean id="fichasJAXRS" class="shst.medicina.fichasclinicas.webservices.jaxrs.FichasClinicasImpl" scope="singleton" />
</beans>