Interface IBundleManager

All Superinterfaces:
IComponent, IComponentProvider, IInitializable, IURIResolver

public interface IBundleManager extends IComponentProvider
  • Method Details

    • getBundleByBundleName

      org.osgi.framework.Bundle getBundleByBundleName(String bundleName)
    • getBundleBySymbolicName

      org.osgi.framework.Bundle getBundleBySymbolicName(String symbolicName)
    • getBundleByFileName

      org.osgi.framework.Bundle getBundleByFileName(String fileName)
    • doesBundleFileExists

      boolean doesBundleFileExists(String fileName)
    • registerBundleByBundleName

      IComponent registerBundleByBundleName(String bundleName, String phase) throws PortalException
      Throws:
      PortalException
    • registerBundleByFileName

      IComponent registerBundleByFileName(String fileName, String phase) throws PortalException
      Throws:
      PortalException
    • registerBundleByFilePath

      IComponent registerBundleByFilePath(String filePath, String phase) throws PortalException
      Throws:
      PortalException
    • unregisterBundleByBundleName

      void unregisterBundleByBundleName(String bundleName)
    • unregisterBundleByFileName

      void unregisterBundleByFileName(String fileName)
    • restartBundleIfAlreadyStarted

      boolean restartBundleIfAlreadyStarted(String symbolicName)
      Restart the bundle with the specified symbolic name if it is already started.
      Parameters:
      symbolicName - the symbolic name of the bundle to be restarted
      Returns:
      true if the bundle was restarted, false otherwise.