felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: scr enableComponent with properties?
Date Fri, 07 Oct 2011 22:43:26 GMT
Hi,

No, this is not foreseen. Configuration is intended to come from Configuration Admin (and
properties defined in the descriptor). If you want to instantiate components yourself with
custom properties, you might want to consider factory components.

Regards
Felix

Am 07.10.2011 um 03:01 schrieb Andrei Pozolotin:

>    Hello again;
> 
>    Can you please clarify:
> 
>    is there a way to issue scr enableComponent() or equivalent:
>    http://www.osgi.org/javadoc/r4v401/org/osgi/service/component/ComponentContext.html#enableComponent%28java.lang.String%29
> 
>    with properties Map<String, String> config, which would be injected
>    into the target activate(Map<String, String> config) method?
> 
>    ?
> 
>    Thank you,
> 
>    Andrei 
> 


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


Mime
View raw message