[DATAGRAPH-99] Provide a way to register additional FieldAccessorFactory implementations Created: 05/Aug/11  Updated: 11/Aug/11  Resolved: 10/Aug/11

Status: Resolved
Project: Spring Data Neo4j
Component/s: CORE
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Jean-Pierre Bergamin Assignee: Michael Hunger
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Reference URL: http://forum.springsource.org/showthread.php?112526-Spring-Data-Graph-Map-pairs-as-node-properties
Last updater: Trevor Marshall

 Description   

The available FieldAccessorFactory implementations are currently hard-coded in NodeDelegatingFieldAccessorFactory#createAccessorFactories. It seems as if there is no way to register additional FieldAccessorFactory implementations.

Some kind of FieldAccessorFactory registry would make SDG much more flexible.



 Comments   
Comment by Michael Hunger [ 10/Aug/11 ]

created an overridable nodeDelegatingFieldAccessorFactory in Neo4jConfiguration
would like to discuss the necessity of a special registry

Comment by Jean-Pierre Bergamin [ 11/Aug/11 ]

Please see also this pulll request.

As there is an easier way now to just redefine the accessor factories, I don't think that there is a need to provide some special registry.
An I don't think that users will write their own FieldAccessors very often...

Generated at Wed Jun 20 00:08:57 UTC 2018 using JIRA 7.9.0#79000-sha1:3ca552e944c2fe83b21589bc06f155b9b428cc2b.