Investigate using the service loader to replace the entreri-mapping file

Issue #43 resolved
Michael Ludwig
repo owner created an issue

The file is a little clunky. It works sufficiently well when a library writes its own property implementations and knows to provide the mapping file. However, it's not possible for another project to write an alternative or add a property for a type they don't own.

Comments (1)

  1. Michael Ludwig reporter

    Replaced with META-INF/entreri/mapping/<CLASS NAME> properties files where each file only has a single property. Also, it looks like getClassLoader().getResource() is pretty capable of finding those files across JARs.

  2. Log in to comment