Reputation: 5919
How can I pass a reference to the BundleContext
in the bean definition xml?
Upvotes: 1
Views: 399
Reputation: 5919
You can do it like this:
<bean name="myBean" class="my.Class">
<property name="bundleContext" ref="bundleContext" />
</bean>
Upvotes: 3