aries-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Ward <timothyjw...@hotmail.com>
Subject RE: Inject BundleContext with BluePrint
Date Mon, 27 Sep 2010 09:02:02 GMT

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: luke@code-house.org
> To: aries-user@incubator.apache.org
> 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:longkerdandy@gmail.com]
> Sent: Monday, September 27, 2010 9:54 AM
> To: aries-user@incubator.apache.org
> Subject: Inject BundleContext with BluePrint
>
>
>
> Hi
>
> How to inject a BundleContext by blueprint?
> I couldn't find a sample for it.
>
> Regards
> LongkerDandy
 		 	   		  
Mime
View raw message