Class OsgiBundleResource
java.lang.Object
com.atlassian.confluence.test.publicapi.rest.OsgiBundleResource
@Consumes("application/json")
@Produces("application/json")
@Path("/osgi")
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
ConstructorDescriptionOsgiBundleResource
(org.osgi.framework.BundleContext bundleContext, com.atlassian.plugin.osgi.container.PackageScannerConfiguration packageScannerConfig) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
getBundles
(@Nullable Boolean treatDeprecatedPackagesAsPublic) javax.ws.rs.core.Response
-
Constructor Details
-
OsgiBundleResource
@Inject public OsgiBundleResource(org.osgi.framework.BundleContext bundleContext, com.atlassian.plugin.osgi.container.PackageScannerConfiguration packageScannerConfig)
-
-
Method Details