Hi,
how can i retrieve Payara's OSGI bundleContext to install new bundles programmatically?
I'm migrating my app from Glassfish to Payara 5.2021.1.
With Glassfish i can
retrieve it in this way:
Bundle bundle = FrameworkUtil.getBundle(javax.annotation.Resource.class);
BundleContext bundleContext = bundle.getBundleContext();
But now with Payara the BundleContext is null.
Thanks
Enrico