public class UnwrappingRepositoryInvokerFactory extends Object implements RepositoryInvokerFactory
RepositoryInvokerFactory that wraps the RepositoryInvokerFactory returned by the delegate with one
that automatically unwraps JDK 8 Optional and Guava com.google.common.base.Optionals.| Constructor and Description |
|---|
UnwrappingRepositoryInvokerFactory(RepositoryInvokerFactory delegate,
List<? extends EntityLookup<?>> lookups) |
| Modifier and Type | Method and Description |
|---|---|
RepositoryInvoker |
getInvokerFor(Class<?> domainType) |
public UnwrappingRepositoryInvokerFactory(RepositoryInvokerFactory delegate, List<? extends EntityLookup<?>> lookups)
delegate - must not be null.lookups - must not be null.public RepositoryInvoker getInvokerFor(Class<?> domainType)
getInvokerFor in interface RepositoryInvokerFactoryCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.