Class OsgiBundleResource
- java.lang.Object
-
- com.atlassian.confluence.test.publicapi.rest.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 Summary
Constructors Constructor Description OsgiBundleResource(org.osgi.framework.BundleContext bundleContext, com.atlassian.plugin.osgi.container.PackageScannerConfiguration packageScannerConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getBundles(@Nullable Boolean treatDeprecatedPackagesAsPublic)
javax.ws.rs.core.Response
loadClass(String className)
-