Wow, it's like dueling DI frameworks!

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.

-> 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: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org




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

Reply via email to