Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.11.0
Description
Manually registering a LogicalTypeFactory is cumbersome, but necessary if creating the factory requires constructor parameters.
For most cases though, a LogicalTypeFactory gets all the information it needs from the schema. This makes it a good candidate for a SPI (using the Java 6 ServiceLoader class). The PR demonstrates that this is quite easy, because the interface already supports registering a LogicalTypeFactory without any additional information.
Attachments
Issue Links
- links to