commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Hall (JIRA)" <>
Subject [jira] [Commented] (DBUTILS-124) Introduce SPI to add more column, property handlers
Date Fri, 17 Apr 2015 20:25:00 GMT


Carl Hall commented on DBUTILS-124:

I have worked this out in a local branch that introduces {{ColumnHandler}} and {{PropertyHandler}}
interfaces and uses this with spi to dynamically load the same column and property handlers
as was hard coded.  All tests are passing but I'd like to add a few more tests to show extensibility
before I commit this upstream.

> Introduce SPI to add more column, property handlers
> ---------------------------------------------------
>                 Key: DBUTILS-124
>                 URL:
>             Project: Commons DbUtils
>          Issue Type: New Feature
>            Reporter: Carl Hall
>            Assignee: Carl Hall
> The column types and property types handled by {{BeanProcessor}} are hard coded to the
processor.  We already use a common return type, so we could add a services approach using
the spi built into the jdk.  This should also allow other types to be handled outside of {{commons-dbutils}}.

This message was sent by Atlassian JIRA

View raw message