Hi,

Well, in what respect would it make your life easier ?

Doing BundleContext.getBundles() is as easy as it could be, no ? Or is
it how the web console renders the bundle detail ?

The you could (theoretically) use the web console by sending an HTTP
request  and use the result. But I am not sure, whether this is really
worth it....

Regards
Felix

Heshan Suriyaarachchi schrieb:
> Hi Marcel,
>                 I did not go through the source code. In my scenario, I
> could get OSGi information through BundleContext. I only needed to know if I
> could use web console code to capture the bundle info, it would make my life
> easier :) .
> 
> On Tue, Sep 15, 2009 at 1:45 PM, Marcel Offermans <
> [email protected]> wrote:
> 
>> At the risk of stating the obvious, but did you actually study the source
>> code of the web management console?
>>
>> On Sep 15, 2009, at 10:12 , Heshan Suriyaarachchi wrote:
>>
>>    I have written an OSGi bundle. In that I am capturing OSGi bundle
>>> information and writing it in to a file. I went through the Apache Felix
>>> Web
>>> Console and found the information shown there interesting. Is there a way
>>> that I can progarmmatically access the bundle information shown in the
>>> 'Configuration Status' tab of the 'Apache Felix Web Management Console
>>> Configuration Status' and write it to a file. If so how?
>>>   Your response is very much appreciated.
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to