Class UnwrappingRepositoryInvokerFactory
java.lang.Object
org.springframework.data.rest.core.support.UnwrappingRepositoryInvokerFactory
- All Implemented Interfaces:
RepositoryInvokerFactory
RepositoryInvokerFactory that wraps the RepositoryInvokerFactory returned by the delegate with one
that automatically unwraps JDK 8 Optional and Guava Optionals.- Author:
- Oliver Gierke
-
Constructor Summary
ConstructorsConstructorDescriptionUnwrappingRepositoryInvokerFactory(RepositoryInvokerFactory delegate, List<? extends EntityLookup<?>> lookups) -
Method Summary
-
Constructor Details
-
UnwrappingRepositoryInvokerFactory
public UnwrappingRepositoryInvokerFactory(RepositoryInvokerFactory delegate, List<? extends EntityLookup<?>> lookups) - Parameters:
delegate- must not be null.lookups- must not be null.
-
-
Method Details
-
getInvokerFor
- Specified by:
getInvokerForin interfaceRepositoryInvokerFactory
-