You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Stéphane Jeanjean <st...@softeam.com> on 2009/05/28 18:42:06 UTC
OBR
Hello,
My application uses OBR through the API. I would like to know if there
is a way to know if the bundle installation fails.
Resolver.deploy() method is called after checking resolution as
described in documentation.
If an error occurs, for instance a network issue, there is no exception
(only an error log).
Someone has an idea to know if the installation is done successfully or
not, please ?
Bonus question : is anywhere a javadoc of OSGi standard services ? I can
find only core javadoc here : http://www.osgi.org/Release4/Javadoc
Thanks,
Stéphane
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: RE : OBR
Posted by Felix Meschberger <fm...@gmail.com>.
Hi,
Stéphane Jeanjean schrieb:
> Hi Felix,
>
> Thnanks for your answer.
>
>>> My application uses OBR through the API. I would like to
>> know if there
>>> is a way to know if the bundle installation fails.
>>>
>>> Resolver.deploy() method is called after checking resolution as
>>> described in documentation.
>>>
>>> If an error occurs, for instance a network issue, there is no
>>> exception
>>> (only an error log).
>>> Someone has an idea to know if the installation is done
>> successfully or
>>> not, please ?
>> AFAICT the bundle repository code provides no direct indication of
>> whether actual installation failed or not.
>>
>> You might of course scan the installed bundles
>> (BundleContext.getBundles()) for the bundle you tried to deploy.
>>
> Ok, that was my idea but we don't know what happens exactly :(
>
>>> Bonus question : is anywhere a javadoc of OSGi standard
>> services ? I
>>> can
>>> find only core javadoc here : http://www.osgi.org/Release4/Javadoc
>> I would say, that the official JavaDoc etc. is contained in the
>> Specification. In addition, the downloadable core and compendium JAR
>> files contain the source which contains JavaDoc, too.
>>
> Do you know why OBR is not in the compendium jar ?
> I can't find the jars on osgi site, only in Maven repository...
Because it is not part of the OSGi specs, yet. It sat around as RFC-112
for years and only recently seems to have gained momentum again to be
included as a compendium service. But I do not exactly know whether it
will ultimately be included in R4.2 or not.
Regards
Felix
>
> Regards,
>
> Stéphane
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
RE : OBR
Posted by Stéphane Jeanjean <st...@softeam.com>.
Hi Felix,
Thnanks for your answer.
> >
> > My application uses OBR through the API. I would like to
> know if there
> > is a way to know if the bundle installation fails.
> >
> > Resolver.deploy() method is called after checking resolution as
> > described in documentation.
> >
> > If an error occurs, for instance a network issue, there is no
> > exception
> > (only an error log).
> > Someone has an idea to know if the installation is done
> successfully or
> > not, please ?
>
> AFAICT the bundle repository code provides no direct indication of
> whether actual installation failed or not.
>
> You might of course scan the installed bundles
> (BundleContext.getBundles()) for the bundle you tried to deploy.
>
Ok, that was my idea but we don't know what happens exactly :(
> >
> > Bonus question : is anywhere a javadoc of OSGi standard
> services ? I
> > can
> > find only core javadoc here : http://www.osgi.org/Release4/Javadoc
>
> I would say, that the official JavaDoc etc. is contained in the
> Specification. In addition, the downloadable core and compendium JAR
> files contain the source which contains JavaDoc, too.
>
Do you know why OBR is not in the compendium jar ?
I can't find the jars on osgi site, only in Maven repository...
Regards,
Stéphane
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: OBR
Posted by Felix Meschberger <fm...@gmail.com>.
Hi,
Stéphane Jeanjean schrieb:
> Hello,
>
> My application uses OBR through the API. I would like to know if there
> is a way to know if the bundle installation fails.
>
> Resolver.deploy() method is called after checking resolution as
> described in documentation.
>
> If an error occurs, for instance a network issue, there is no exception
> (only an error log).
> Someone has an idea to know if the installation is done successfully or
> not, please ?
AFAICT the bundle repository code provides no direct indication of
whether actual installation failed or not.
You might of course scan the installed bundles
(BundleContext.getBundles()) for the bundle you tried to deploy.
>
> Bonus question : is anywhere a javadoc of OSGi standard services ? I can
> find only core javadoc here : http://www.osgi.org/Release4/Javadoc
I would say, that the official JavaDoc etc. is contained in the
Specification. In addition, the downloadable core and compendium JAR
files contain the source which contains JavaDoc, too.
Hope this helps.
Regards
Felix
>
> Thanks,
>
> Stéphane
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org