I guess I was asking generally to some degree since I was unclear whether
the underlying DS spec allowed for it.


On Tue, Apr 16, 2013 at 4:23 PM, Raymond Auge <[email protected]>wrote:

> Thank you Neil,
>
> Sorry, I'm currently using the bnd annotations (1.50.0, haven't upgraded
> yet, will soon).
>
> - Ray
>
>
> On Tue, Apr 16, 2013 at 4:17 PM, Neil Bartlett <[email protected]>wrote:
>
>> Yes there is.
>>
>> You don't specify which flavour of annotations you are using. Assuming
>> the standard ones from DS 1.2:
>>
>>     @Component(properties = { "foo=bar", "foo=baz" })
>>
>> Alternatively with the bnd annotations:
>>
>>     @Component(properties = "foo=bar|baz")
>>
>> Regards
>> Neil
>>
>> On Tue, Apr 16, 2013 at 9:12 PM, Raymond Auge 
>> <[email protected]>wrote:
>>
>>> Is there a way to pass multiple values to a DS component property?
>>>
>>> I think there is not, but I was hoping I've missed something.
>>>
>>> An example of this might be:
>>>
>>> @Component(
>>> properties={
>>> "lifecycle.event=global.startup.events",
>>>  "lifecycle.event=application.startup.events"
>>> }
>>> )
>>>
>>> or
>>>
>>> @Component(
>>> properties={
>>> "lifecycle.event=[global.startup.events,application.startup.events]"
>>>  }
>>> )
>>>
>>> etc.
>>>
>>> Thoughts?
>>>
>>> --
>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>>> <http://twitter.com/#!/rotty3000> | Senior Software Architect | *Liferay,
>>> Inc.* <http://www.liferay.com>  <https://twitter.com/#!/liferay>
>>>
>>> ---
>>>
>>> 24-25 October 2012 |* Liferay **Spain Symposium* | 
>>> liferay.com/spain2012<http://www.liferay.com/spain2012>
>>>
>>> 16 November 2012 |* Liferay **Italy Symposium* | 
>>> liferay.com/italy2012<http://www.liferay.com/italy2012>
>>>
>>>
>>> _______________________________________________
>>> OSGi Developer Mail List
>>> [email protected]
>>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>>>
>>
>>
>> _______________________________________________
>> OSGi Developer Mail List
>> [email protected]
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>>
>
>
>
> --
> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> <http://twitter.com/#!/rotty3000> | Senior Software Architect | *Liferay,
> Inc.* <http://www.liferay.com>  <https://twitter.com/#!/liferay>
>
> ---
>
> 24-25 October 2012 |* Liferay **Spain Symposium* | 
> liferay.com/spain2012<http://www.liferay.com/spain2012>
>
> 16 November 2012 |* Liferay **Italy Symposium* | 
> liferay.com/italy2012<http://www.liferay.com/italy2012>
>
>


-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
<http://twitter.com/#!/rotty3000> | Senior Software Architect | *Liferay,
Inc.* <http://www.liferay.com>  <https://twitter.com/#!/liferay>

---

24-25 October 2012 |* Liferay **Spain Symposium* |
liferay.com/spain2012<http://www.liferay.com/spain2012>

16 November 2012 |* Liferay **Italy Symposium* |
liferay.com/italy2012<http://www.liferay.com/italy2012>
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to