Use Felix's bundle context. Here's part of my code that installed a
bundle from a directory (before I knew about FileInstall):
bundle =
getFelixInstance().getBundleContext().installBundle("file:" + jarFile);
logger.info("Installed bundle [" + jarFile + "] in Felix");
logger.info("Trying to start bundle [" +
bundle.getBundleId() + "] in Felix....");
bundle.start();
[email protected] wrote:
Howdy,
I am using Felix embedded in an application. I know using the shell
tool I can add/remove/update bundles. How would I do the programmatic
from my application?
Thanks
-Pete
1. If a man is standing in the middle of the forest talking, and there
is no woman around to hear him, is he still wrong?
2. Behind every great woman... Is a man checking out her ass
3. I am not a member of any organized political party. I am a Democrat.*
4. Diplomacy is the art of saying "Nice doggie" until you can find a
rock.*
5. A process is what you need when all your good people have left.
*Will Rogers
---------------------------------------------------------------------
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]