What about a different proposal: looking up the interface implementation using ServiceLoader? Then there would be nothing special about it.

Regards,
Michael

On 3 Jan 2012 17:25, "Emmanuel Bernard" <emmanuel@hibernate.org> wrote: