[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


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.

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 Sat Dec 15 09:12:05 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.