net.sf.navel.beans
Interface NestedResolver

All Known Implementing Classes:
DefaultNestedResolver

public interface NestedResolver

Represents the desired strategy for populating values into indirectly created beans created while parsing dot notation expressions.

Author:
cmdln

Method Summary
 void resolve(java.lang.Object bean, java.util.Map<java.lang.String,java.lang.Object> initialValues)
          If any additional processing or mapping needs to be performed before the values are set into a new, nested bean's state, implement here and register via the ProxyFactory.
 

Method Detail

resolve

void resolve(java.lang.Object bean,
             java.util.Map<java.lang.String,java.lang.Object> initialValues)
If any additional processing or mapping needs to be performed before the values are set into a new, nested bean's state, implement here and register via the ProxyFactory.

Parameters:
bean - A navel bean, may be new and empty or may be partially populated, depending on the exact dot notation keys in the initialValues map and other factors, so should be careful about inadvertently clobbering existing state.
initialValues - The appropriate values derived for the bean argument, which may be filtered or changed as appropriate to keep property validation from throwing an exception.