forked from Coded/SIPRP
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.
60 lines
2.4 KiB
60 lines
2.4 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" destroy-method="clean" scope="singleton" depends-on="defaultLogger" />
|
|
|
|
<bean id="siprpProvider" class="pt.evolute.data.ProviderSpringBean" destroy-method="clean" scope="singleton" depends-on="defaultLogger" >
|
|
<property name="server"><value>server2.evolute.pt</value></property>
|
|
<property name="port"><value>5432</value></property>
|
|
<property name="username"><value>rsantos</value></property>
|
|
<property name="password"><value>rsEvo2014</value></property>
|
|
<property name="database"><value>siprp_local_3</value></property>
|
|
<property name="parameters"><value>ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory</value></property>
|
|
<property name="databasePrefix"><value>jdbc:postgresql://</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" depends-on="defaultProvider" />
|
|
|
|
<bean id="fichasWS" class="shst.medicina.fichasclinicas.webservice.FichasClinicasWSImpl" scope="singleton" depends-on="defaultProvider,siprpProvider" />
|
|
|
|
|
|
|
|
<wss:binding url="/ws">
|
|
<wss:service >
|
|
<ws:service bean="#fichasWS" />
|
|
</wss:service>
|
|
</wss:binding>
|
|
|
|
|
|
<!-- <wss:binding url="/json"> -->
|
|
<!-- <wss:service > -->
|
|
<!-- <ws:service bean="#fichasWS" bindingID="http://jax-ws-commons.java.net/json/" /> -->
|
|
<!-- </wss:service> -->
|
|
<!-- </wss:binding> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</beans>
|