org.springframework.data.neo4j.fieldaccess
Interface FieldAccessorListenerFactory<E>
- All Known Implementing Classes:
- IndexingPropertyFieldAccessorListenerFactory, JpaIdFieldAccessListenerFactory
public interface FieldAccessorListenerFactory<E>
factory interface for field accessor listeners. Provides means to check if a field is eligible for this factory
and a factory method for creating the listener instance.
- Since:
- 12.09.2010
- Author:
- Michael Hunger
accept
boolean accept(Field f)
- Parameters:
f
- field to check
- Returns:
- true if this factory is able to create a listener for the field
forField
FieldAccessListener<E,?> forField(Field f)
- Parameters:
f
- field to create a listener for
- Returns:
- newly created field listener
Copyright © 2011 SpringSource. All Rights Reserved.