Enable/Disable CRXDE LITE using Workflow
Hi,
How to enable/disable CRXDE lite in production environment using a workflow or an servlet?
Thanks & Regards,
Ashwini
Hi,
How to enable/disable CRXDE lite in production environment using a workflow or an servlet?
Thanks & Regards,
Ashwini
Dear Ashwini,
BundleContext[0] can get you your bundles[1] and individual bundles can be started via start() method.
[0]https://osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html
[1] https://osgi.org/javadoc/r4v43/core/org/osgi/framework/Bundle.html
P.S. you can get BundleContext via:
@Activate
public void activate(BundleContext context) {
// ...
}
Regards,
Peter
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.