You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-dev@incubator.apache.org by Alexandru Popescu <th...@gmail.com> on 2006/01/05 13:39:38 UTC

AtomicTypeConverterProvider instead of Map

Hi!

I would like to introduce a new interface AtomicTypeConverterProvider instead of the current 
Map<Class, Object> used for converters.

This would allow to register custom atomic type converters, and also may lazy create the 
AtomicTypeConverters (when the session is available).


what's your opinion?

./alex
--
.w( the_mindstorm )p.


Re: AtomicTypeConverterProvider instead of Map

Posted by Christophe Lombart <ch...@gmail.com>.
+1 for your proposal : AtomicTypeConverterProvider & default constructor

On 1/5/06, Alexandru Popescu <th...@gmail.com> wrote:
> Following the same idea to allow more pluggability I would like to add
> some default constructors and setters to PersistenceManagerImpl, so
> that you can provide your own ObjectConverter implementation (on the
> same direction the QueryManager is provided)
>
> ./alex
> --
> .w( the_mindstorm )p.
>
>
> On 1/5/06, Alexandru Popescu <th...@gmail.com> wrote:
> > Hi!
> >
> > I would like to introduce a new interface AtomicTypeConverterProvider instead of the current
> > Map<Class, Object> used for converters.
> >
> > This would allow to register custom atomic type converters, and also may lazy create the
> > AtomicTypeConverters (when the session is available).
> >
> >
> > what's your opinion?
> >
> > ./alex
> > --
> > .w( the_mindstorm )p.
> >
> >
>


--
Best regards,

Christophe

Re: AtomicTypeConverterProvider instead of Map

Posted by Alexandru Popescu <th...@gmail.com>.
Following the same idea to allow more pluggability I would like to add
some default constructors and setters to PersistenceManagerImpl, so
that you can provide your own ObjectConverter implementation (on the
same direction the QueryManager is provided)

./alex
--
.w( the_mindstorm )p.


On 1/5/06, Alexandru Popescu <th...@gmail.com> wrote:
> Hi!
>
> I would like to introduce a new interface AtomicTypeConverterProvider instead of the current
> Map<Class, Object> used for converters.
>
> This would allow to register custom atomic type converters, and also may lazy create the
> AtomicTypeConverters (when the session is available).
>
>
> what's your opinion?
>
> ./alex
> --
> .w( the_mindstorm )p.
>
>