2009/2/4 Richard S. Hall <[email protected]>

> Wow, it's like dueling DI frameworks!
>

ah, the agony of choice... I'm just happy to see people using services ;)


> One day we will get back to our discussion of merging, but until then it
> would be awesome to have a page that shows back-to-back-to-back comparisons
> like this of DS, DM, and iPOJO.
>

+1 ... perhaps create a simple 'standard' app for comparing frameworks?


> -> richard
>
>
> Clement Escoffier wrote:
>
>>
>> On 04.02.2009, at 12:18, Marcel Offermans wrote:
>>
>>  On Feb 4, 2009, at 12:08 , Clement Escoffier wrote:
>>>
>>>  One of the cool aspect of iPOJO is that you can use [...] a fluent API.
>>>>
>>>
>>> Could you show us what the example you gave looks like using the fluent
>>> API in iPOJO?
>>>
>>
>> Sure :
>>
>> new PrimitiveComponentType()
>>  .setBundleContext(context)
>>  .setClassName("org.example.impl.FooServiceImpl")
>>  .addService(new Service())
>>  .addDependency(new Dependency().setField("myBar"))
>>  .createInstance();
>>
>>
>> Regards,
>>
>>
>> Clement
>>
>>
>>>
>>> Greetings, Marcel
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Cheers, Stuart

Reply via email to