Actually using David's example, couldn't I make a global bundle that speaks
SCR runtime and through configuration of its own disable any component?

- Ray

On Nov 11, 2016 23:28, "Felix Meschberger" <[email protected]> wrote:

> Hi Ray
>
> Indirectly: have your component require configuration. In this case the
> component is only activated if there is configuration for it. This is
> similar to a mandatory reference.
>
> Regards
> Felix
>
> --
> Typos caused by my iPhone
>
> > Am 11.11.2016 um 20:42 schrieb Raymond Auge <[email protected]>:
> >
> > 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)
>

Reply via email to