[Carbon-dev] Bundle Management Agent to manage the start levels

Ruwan Linton ruwan at wso2.com
Mon Oct 20 08:39:45 PDT 2008


Hi Paul,

Answered to the two questions :-)
Paul Fremantle wrote:
> Two questions:
>
> * Are we still having a way of specifying start levels outside a bundle 
> for things we don't package
>   
No. What we have to do is to re-bundle them with the required 
information. Or may be we can define a property file where you can put 
statr levels externally as well. WDYT?
> * I assume we are creating bundles that are *JUST* an OSGi bundling of 
> another existing non-OSGi package, and how do we name those?
>   
Up to now the convention was to use the prefix org.wso2.carbon followed 
by the artifact ID. So for axis2 it is org.wso2.carbon.axis2. I guess 
this is same as what spring is doing except for the fact that they are 
using both artifactId and the groupId.

Thanks,
Ruwan
> Paul
>
> PS this is what Spring do: http://www.springsource.com/repository/app/
>
> Ruwan Linton wrote:
>   
>> Hi devs,
>>
>> I have added the Bundle Management Agent to manage the start levels of 
>> the bundles so that all the bundles are started according to its start 
>> levels. These start levels are inserted into bundles itself using a 
>> custom MANIFEST header named WSO2-Bundle-StartLevel.
>>
>> All the bundles has to have a start level for this approach to work, and 
>> it reduces the number of entries in the config.ini in the case of 
>> equinox and most importantly the set of entries are going to be constant 
>> and will not evolve under any circumstance. Carbon is now fully driven 
>> by this agent where as non of the solutions have been converted to this 
>> approach yet.
>>
>> This WIKI [1] lists all the start levels that the bundles are assigned 
>> with, please note that the clear separation of the dependency levels 
>> using the start levels in this wiki. When you need to add a start level 
>> to your bundle please go through this WIKI, and select the appropriate 
>> number and edit the WIKI to include your selection.
>>
>> Thanks,
>> Ruwan
>>
>> [1] - http://wso2.org/wiki/display/carbon/Component+Start+Levels
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev at wso2.org
>> http://mailman.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>     
>
>   




More information about the Carbon-dev mailing list