public class ReflectionFallbackBeanResolver extends Object implements BeanResolver
using reflection if it failed
(null result).
Any exception thrown by the delegate will be propagated immediately (it won't be swallowed to try reflection).
Note that we don't expect this resolver to ever return null, because the resolution using reflection will always either succeed (return a non-null bean) or throw an exception.
| Constructor and Description |
|---|
ReflectionFallbackBeanResolver(BeanResolver delegate,
ReflectionBeanResolver fallback) |
public ReflectionFallbackBeanResolver(BeanResolver delegate, ReflectionBeanResolver fallback)
public <T> T resolve(Class<?> reference, Class<T> expectedClass)
resolve in interface BeanResolverCopyright © 2006–2017 Hibernate. All rights reserved.