Look at the Javadoc of the returned Bundle object … there are a number of 
start() methods.

Kind regards,

        Peter Kriens

> On 2 nov. 2016, at 09:26, manoj.vrajam...@wipro.com wrote:
> 
> Hi All,
>  
> ·         I perform a  bundleContext.installBundle(“x.jar”);  
> ·         I am able to install the bundle but this is in state ‘Installed’
> ·         How do I move it to state ‘Active’ ?  programmatically?  ( I don’t 
> want to do it manually using the shell start <bundleId> )
>  
> Thanks,
> Manoj
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments. WARNING: Computer viruses can be transmitted via 
> email. The recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any damage caused 
> by any virus transmitted by this email. www.wipro.com 
> <http://www.wipro.com/>_______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
> https://mail.osgi.org/mailman/listinfo/osgi-dev 
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to