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


Reply via email to