You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Chetan Mehrotra <ch...@gmail.com> on 2012/10/08 07:16:59 UTC

Enable/Disable factory component programatically

In case the Component is a factory component what should be the value
for the name in
org.osgi.service.component.ComponentContext.enableComponent(String
name) if I need to enable/disable a particular factory instance?.

I had a look at [1] but not sure on the usage part. Probably the name
needs to be the service.pid for the confiuration which was used to
create the component instance.

Chetan Mehrotra

[1] http://felix.apache.org/site/apache-felix-service-component-runtime.html#ApacheFelixServiceComponentRuntime-NonStandardComponentFactoryBehaviour

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org