Interface AccountFinder

All Known Subinterfaces:
EntityAccountFinder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AccountFinder
Interface for locating and retrieving an Account related to an object instance. Such an object should implement this interface to provide a way to find the account associated with it.

The AccountFinder interface defines a single method getAccount(TransactionManager) that takes a TransactionManager as a parameter and returns an instance of Account. The implementation of this interface determines the criteria and logic used to locate the account. An implementation may create an instance using the TransactionManager passed as the parameter if an account is not found.
Author:
Syam