Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Enable/Disable CRXDE LITE using Workflow

ashwiniv5325199
Level 2
Level 2

Hi,

         How to enable/disable CRXDE lite in production environment using a workflow or an servlet?

Thanks & Regards,

Ashwini

1 Accepted Solution
PuzanovsP
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

0 Replies
Arun_Patidar
Community Advisor
Community Advisor

Hi,

Please check https://helpx.adobe.com/in/experience-manager/6-3/sites/administering/using/enabling-crxde-lite.html

In above article CRXDE Lite can be disabled via curl command, similarly you can use Java to make a post request to disable particular component.

ashwiniv5325199
Level 2
Level 2

Thanks for the response.

How to enable the bundle programmatically?

PuzanovsP
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post