Class OsgiContainerManagerStub

java.lang.Object
com.atlassian.testsupport.OsgiContainerManagerStub
All Implemented Interfaces:
com.atlassian.plugin.osgi.container.OsgiContainerManager

public class OsgiContainerManagerStub extends Object implements com.atlassian.plugin.osgi.container.OsgiContainerManager
  • Constructor Details

    • OsgiContainerManagerStub

      public OsgiContainerManagerStub(com.atlassian.oauth2.scopes.api.ScopesRequestCache scopesRequestCache)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • stop

      public void stop()
      Specified by:
      stop in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • installBundle

      public org.osgi.framework.Bundle installBundle(File file, com.atlassian.plugin.ReferenceMode referenceMode)
      Specified by:
      installBundle in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • getBundles

      public org.osgi.framework.Bundle[] getBundles()
      Specified by:
      getBundles in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • getRegisteredServices

      public org.osgi.framework.ServiceReference[] getRegisteredServices()
      Specified by:
      getRegisteredServices in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • getHostComponentRegistrations

      public List<com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration> getHostComponentRegistrations()
      Specified by:
      getHostComponentRegistrations in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • getServiceTracker

      public org.osgi.util.tracker.ServiceTracker getServiceTracker(String className)
      Specified by:
      getServiceTracker in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • getServiceTracker

      public org.osgi.util.tracker.ServiceTracker getServiceTracker(String s, org.osgi.util.tracker.ServiceTrackerCustomizer serviceTrackerCustomizer)
      Specified by:
      getServiceTracker in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • addBundleListener

      public void addBundleListener(org.osgi.framework.BundleListener bundleListener)
      Specified by:
      addBundleListener in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
    • removeBundleListener

      public void removeBundleListener(org.osgi.framework.BundleListener bundleListener)
      Specified by:
      removeBundleListener in interface com.atlassian.plugin.osgi.container.OsgiContainerManager