
META-INF.spring.service-soap.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- #%L Service Activity Monitoring :: Server %% Copyright (C) 2011 - 2012 Talend Inc. %% Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #L% --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:osgix="http://www.springframework.org/schema/osgi-compendium" xmlns:context="http://www.springframework.org/schema/context" xmlns:osgi="http://www.springframework.org/schema/osgi" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/osgi-compendium http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd "> <import resource="classpath:/datasource-osgi.xml"/> <import resource="classpath:/persistence-soap.xml"/> <!-- Configuration Admin entry --> <osgix:cm-properties id="sam-server-props" persistent-id="org.talend.esb.sam.server"> <prop key="monitoringServiceUrl">/MonitoringServiceSOAP</prop> <prop key="db.datasource">ds-derby</prop> <prop key="db.dialect">derbyDialect</prop> </osgix:cm-properties> <!-- placeholder configurer --> <context:property-placeholder properties-ref="sam-server-props" /> <bean id="monitoringService" class="org.talend.esb.sam.soap.service.MonitoringServiceImpl"> <property name="persistenceHandler" ref="eventRepository" /> </bean> <jaxws:endpoint id="monitoringservice" implementor="#MonitoringServiceWrapper" address="${monitoringServiceUrl}"> <jaxws:properties> <entry key="mtom-enabled" value="true"/> </jaxws:properties> </jaxws:endpoint> <bean id="MonitoringServiceWrapper" class="org.talend.esb.sam.soap.service.MonitoringWebService"> <property name="monitoringService" ref="monitoringService" /> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy