Class OsgiBundleResource


  • public class OsgiBundleResource
    extends Object
    A REST resource which exposes information about the OSGi bundles currently installed.

    This is a more test-focussed alternative to the REST resources provided by UPM, but comes from the same source, i.e. the BundleContext.

    • Constructor Detail

      • OsgiBundleResource

        public OsgiBundleResource​(org.osgi.framework.BundleContext bundleContext,
                                  com.atlassian.plugin.osgi.container.PackageScannerConfiguration packageScannerConfig)
    • Method Detail

      • getBundles

        public javax.ws.rs.core.Response getBundles​(@Nullable Boolean treatDeprecatedPackagesAsPublic)
      • loadClass

        public javax.ws.rs.core.Response loadClass​(String className)