[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [equinox-dev] example of wiredadmin replacing packageadmin to refresh bundles
|
I assume you mean FrameworkWiring and not WireAdmin.
here is a code snippit.
BundleContext context = getContext();
FrameworkWiring fwkWiring = context.getBundle(0).adapt(FrameworkWiring.class);
fwkWiring.refreshBundles(getBundlesToRefresh());
You can also pass a FrameworkListener to FrameworkWiring.refreshBundles if you want to listen for when the operation completes.
Tom
Raymond Auge ---09/11/2012 02:11:05 PM---Anyone know of a working example of using WireAdmin in replacement of the packageAdmin for refresh? I've looked in the source o
|
Raymond Auge <raymond.auge@xxxxxxxxxxx> |
|
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>, |
|
09/11/2012 02:11 PM |
|
[equinox-dev] example of wiredadmin replacing packageadmin to refresh bundles |
Anyone know of a working example of using WireAdmin in replacement of the packageAdmin for refresh?
I've looked in the source of both equinox and felix and can't find any such applications.
Sincerely,
--
Raymond Augé | Senior Software Architect | Liferay, Inc.
---
8-9 October 2012 | Liferay North America Symposium | liferay.com/northamerica2012
16-17 October 2012 | Liferay Europe Symposium | liferay.com/europe2012
24-25 October 2012 | Liferay Spain Symposium | liferay.com/spain2012
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev