|
a/src/main/resources/META-INF/spring/bundle-context-osgi.xml |
|
b/src/main/resources/META-INF/spring/bundle-context-osgi.xml |
|
... |
|
... |
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4 |
xmlns:osgi="http://www.springframework.org/schema/osgi"
|
4 |
xmlns:osgi="http://www.springframework.org/schema/osgi"
|
5 |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
5 |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
6 |
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
|
6 |
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
|
7 |
|
7 |
|
|
|
8 |
<!-- definitions using elements of the osgi namespace can be included
|
|
|
9 |
in this file. There is no requirement to keep these definitions
|
|
|
10 |
in a separate file if you do not want to. The rationale for
|
|
|
11 |
keeping these definitions separate is to facilitate integration
|
|
|
12 |
testing of the bundle outside of an OSGi container -->
|
|
|
13 |
|
8 |
<osgi:service interface="net.timbusproject.extractors.core.IExtractor" ref="extractor"/>
|
14 |
<osgi:service interface="net.timbusproject.extractors.core.IExtractor" ref="extractor"/>
|
9 |
|
15 |
|
10 |
<osgi:reference id="log" interface="org.osgi.service.log.LogService"/>
|
16 |
<osgi:reference id="log" interface="org.osgi.service.log.LogService"/>
|
11 |
|
17 |
|
12 |
</beans> |
18 |
</beans> |