This is an equinox specific question, but to answer your question.  There
is no standard way to configure a framework (or equinox specific way) to
automatically refresh some bundle on every startup.  This is a policy a
management agent would have to implement.  But I am not sure why you would
need to refresh a bundle on every startup.

Tom





From:   Soniya Chavan <[email protected]>
To:     OSGi Developer Mail List <[email protected]>,
Date:   09/25/2013 08:29 AM
Subject:        [osgi-dev] Refresh bundle via config.ini
Sent by:        [email protected]



On osgi command prompt we can refresh a bundle as below where com.abc.xyz
is the bundle id.
osgi> refresh com.abc.xyz

Is there a way to configure this via config.ini file? I tried using
@refresh as below but this gives me an error.

Config.ini -> com.abc.xyz@refresh,\
Errror  -> !MESSAGE Bundle com.abc.xyz@refresh not found.

Thanks
Soniya

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is
the property of Persistent Systems Ltd. It is intended only for the use of
the individual or entity to which it is addressed. If you are not the
intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in
error, please notify the sender and delete all copies of this message.
Persistent Systems Ltd. does not accept any liability for virus infected
mails.

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

<<inline: graycol.gif>>

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to