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)
Creates a new
UnwrappingRepositoryInvokerFactory. |
| Modifier and Type | Method and Description |
|---|---|
RepositoryInvoker |
getInvokerFor(Class<?> domainType) |
public UnwrappingRepositoryInvokerFactory(RepositoryInvokerFactory delegate)
UnwrappingRepositoryInvokerFactory.delegate - must not be null.public RepositoryInvoker getInvokerFor(Class<?> domainType)
getInvokerFor in interface RepositoryInvokerFactoryCopyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.