tusury / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

ldaptive: Add transcoders in @Attribute #218

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Feature Request (Transcoders in @Attribute)

The following changes will allow for ValueTranscoder<T> to be included with 
Attribute annotation for SpringLdapEntryMapper

Original issue reported on code.google.com by ememi...@gmail.com on 28 May 2014 at 6:28

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in r2986 and r2987.
Some notable changes from your patch:
I used a non-functional marker transcoder in the Attribute annotation.
If no transcoder is defined the behavior needs to falls through to the default 
object conversion.
I did not provide support for transcoder constructor arguments, not convinced 
it's needed yet.
Added the #setValues implementation in SpelAttributeValueMutator.

Original comment by dfis...@gmail.com on 30 May 2014 at 3:10

GoogleCodeExporter commented 8 years ago
Update in r2995.
transcoder implementation now defined by the mapper.
Spring mapper now supports using SPEL to create the transcoder.

Original comment by dfis...@gmail.com on 4 Jun 2014 at 6:49

GoogleCodeExporter commented 8 years ago

Original comment by dfis...@gmail.com on 1 Jul 2014 at 3:03