示例#1
0
 /*
  * (non-Javadoc)
  *
  * @see com.yipsilon.osgi.IBundleContext#getBundles()
  */
 public IBundle[] getBundles() {
   return framework.getBundles();
 }
 /**
  * Retrieve a list of all installed bundles. The list is valid at the time of the call to
  * getBundles, but the framework is a very dynamic environment and bundles can be installed or
  * uninstalled at anytime.
  *
  * @return An array of {@link AbstractBundle} objects, one object per installed bundle.
  */
 public Bundle[] getBundles() {
   return framework.getBundles(this);
 }