| At line 278 added 7 lines. |
| {{{ |
| <?xml version="1.0" encoding="UTF-8"?> |
| <beans xmlns="http://www.springframework.org/schema/beans" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:osgi="http://www.springframework.org/schema/osgi" |
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd |
| http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd"> |
| At line 286 added 7 lines. |
| <bean name="anotherBean" class="org.foo.AnotherBeanImpl" /> |
| <bean name="fujiService" class="org.foo.MyProvider"> |
| <property name="anotherBean" ref="anotherBean" /> |
| </bean> |
| </beans> |
| }}} |
| At line 294 added 1 line. |
| {{{ |
| At line 296 added 6 lines. |
| <?xml version="1.0" encoding="UTF-8"?> |
| <beans:beans xmlns:beans="http://www.springframework.org/schema/beans" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns="http://www.springframework.org/schema/osgi" |
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd |
| http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd"> |
| At line 303 added 15 lines. |
| <service id="fujiServiceOsgi" ref="fujiService" |
| interface="org.glassfish.openesb.api.service.ServiceProvider"> |
| <service-properties> |
| <beans:entry key="org.glassfish.openesb.serviceName" value="xyzService" /> |
| <beans:entry key="org.glassfish.openesb.endpointName" value="endpoint1" /> |
| </service-properties> |
| </service> |
| </beans:beans> |
| }}} |
| At line 353 added 15 lines. |
| b)spring config file |
| {{{ |
| <bean id="someBean" class="org.foo.BeanWithJbiServiceReference" lazy-init="false"> |
| <property name="serviceReference" ref="jbiService" /> |
| <property name="service" ref="jbiService" /> |
| </bean> |
| }}} |
| c)spring osgi config file |
| {{{ |
| <reference id="jbiService" |
| interface="org.glassfish.openesb.api.service.ServiceConsumer" |
| filter="(org.glassfish.openesb.serviceName=abcService)" /> |
| }}} |