Hi,

Sorry for the delay,

On 13.05.2010 21:36, Carl Hall wrote:
> I think I have it now.
> 
> For those with the same wonders I had, here's the rundown as I understand
> it.
> 
> "configurationFactory" tells whether this component should get its
> configuration from a factory (see cmpn 112.7).  This is somewhat
> complimentary to the configuration policy (ignore, optional, required).

Yes. In particular setting configurationFactory to true sets the
factoryPid attribute in the generated metatype descriptor. If you
disabled metatype descriptor generation (by setting metatype="no"), this
attribute has no effect.

> 
> "factory" sets the metatype factory property.  From the spec,
> "component.factory – The factory identifier".

Yes. As a consequence the component will be a Component Factory component.

> 
> If someone could verify or negate my statements, I'll gladly put in patches
> to the documentation (site & javadoc).

Regards
Felix


> 
> 
> On Thu, May 13, 2010 at 12:45 PM, Carl Hall <[email protected]> wrote:
> 
>> @Component.factory takes a String but the description is "Whether the
>> component is a factory component".  Should this field be a boolean or should
>> the description be updated?
>>
>> Could someone tell me more about what @Component.configurationFactory turns
>> on or influences?  The description leads me to believe that a String is
>> expected but the field is a boolean.  Is there some doc on what a
>> configuration factory is?
>>
>> Have the descriptions or field types of these 2 fields been swapped?
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to