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