THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
<classpath> <library>osgi:org.springframework.bean</library> </classpath> |
New in ServiceMix 4.2.0
To allow you to access classes from other OSGi bundles in your SU code as well, the library
element has now been enhanced to allow referencing bundles when running in ServiceMix 4.2.0 or above. The URI syntax is osgi:<bundle symbolic name>
or osgi:<bundle symbolic name>/<version>
to reference a specific bundle version.
Example: the following snippet explicitly adds the org.springframework.bean
bundle to the SU classloader.
Code Block | ||
---|---|---|
| ||
<classpath>
<library>osgi:org.springframework.bean</library>
</classpath>
|