And if you're after an example:

<bean id="injectedBundleContext" class="Foo">
    <property name="context" ref="blueprintBundleContext"/>
</bean>

You may also access the Bundle object for the blueprint bundle using the 
"blueprintBundle" bean, the BlueprintContainer service using the 
"blueprintContainer" bean and the built in blueprint converter service using 
the "blueprintConverter" bean.

Regards,

Tim

________________________________
> From: [email protected]
> To: [email protected]
> Subject: RE: Inject BundleContext with BluePrint
> Date: Mon, 27 Sep 2010 10:27:55 +0200
>
>
> Hi,
>
> You have predefined variable accessible In XML configuration named
> blueprintBundleContext.
>
>
>
> Best regards,
>
> Lukasz
>
>
>
> From: LongkerDandy [mailto:[email protected]]
> Sent: Monday, September 27, 2010 9:54 AM
> To: [email protected]
> Subject: Inject BundleContext with BluePrint
>
>
>
> Hi
>
> How to inject a BundleContext by blueprint?
> I couldn't find a sample for it.
>
> Regards
> LongkerDandy
                                          

Reply via email to