[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Reg : Loading bundles to OSGI framwork

You could use Pax Runner (http://wiki.ops4j.org/x/A4A6) which is aimed
to pull provisioning (start equinox with a set of bundles).
Unfortunately I'm in the process of (re)writing the user guide so the
information about usage is not very clear but stay tuned as it will
improve day by day.

HTH

On Mon, Apr 6, 2009 at 6:14 PM, Simon J Archer <sarcher@xxxxxxxxxx> wrote:
>
> To load a bundle programmatically, use the BundleContext APIs:
>
> public Bundle installBundle(String);
> public Bundle installBundle(String, InputStream);
>
> Both APIs return a Bundle object, which you'll want to hold onto if you wish
> to be able to stop it at some time, but this is not absolutely necessary.
>
> Please note that config.ini is not an OSGi mechanism, but something specific
> to Eclipse/Equinox.
>
>
>
> prasanna Venkatesh <itmpras@xxxxxxxxx>
> Sent by: equinox-dev-bounces@xxxxxxxxxxx
>
> 04/06/2009 11:05 AM
>
> Please respond to
> itmpras@xxxxxxxxx; Please respond to
> Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
> To
> equinox-dev@xxxxxxxxxxx
> cc
> Subject
> [equinox-dev] Reg : Loading bundles to OSGI framwork
>
>
>
>
> Hi all ,
>   I am relatively new user of Equinox . I dont know whether the same
> question had been asked before or not .
>
>  In our project we intend to use Equinox .  I would like to know what are
> the possible ways to load bundles into OSGI framwork .
>
>      I know we can use config.ini , Is there any other way to load a set of
> bundles to the framwork ? . To understand the technology better , we are not
> using Eclipse , for even gerenating Mainfest file . So apart from these
> options , is there any way to load a set of
> bundles from  a predefined location  ( like can we have a bundle , which
> loads all other bundles )   ??  . Kinldy request you to  give your comments.
>
>
> Thanks in advance
> Prasanna
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
Looking for a job.
Sent from Cluj-Napoca, CJ, Romania