Not directly, but you could write a component per interesting bundle that has a configuration with “enabled” booleans for each other component in the bundle and have it use the configuration to figure out whether to enable each of the other components (which ought to be disabled by default for this to work).
david jencks > On Nov 11, 2016, at 12:42 PM, Raymond Auge <[email protected]> wrote: > > Hey all, > > is there a way in SCR to persistently disable a component, for instance via > config admin? > > -- > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> > (@rotty3000) > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> > (@Liferay) > Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)
